Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Resize Filter Screen Dynamically Empty Resize Filter Screen Dynamically

Thu 23 Jan 2020 - 8:51
My users want to be able to filter a seach list on a large number fo fields (too many for it to be practical to show all of them on a filter screen) and so I would like to have a basic filter screen in which they choose which field they want to filter on from a drop down and then enter a value in the box next to it. SQL in the stored proc behind the SL will then apply the filter appropriatetly. I want to have “add a filter” buttons at the end of each row, which dynamically resizes the filter box and shows the next dropdown / text box combo. I have tries resizing the EnquiryForm on the filter screen but it does not seem to do anything. Any ideas?
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Resize Filter Screen Dynamically Empty Re: Resize Filter Screen Dynamically

Thu 23 Jan 2020 - 8:52
You can change the size of the Filter Form with code as belowthis.EnquiryForm.Parent.Height *= 2; This will double the size of the Filter Form.I put this code on the click event of a button on my filter form.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum