Rank: Newbie Groups: Member
Joined: 2/11/2014 Posts: 7
|
I would like to build a page much like your ComboBox Drop Down Template - Advanced. Basically a grid in the dropdown. In addition, there will be a textbox where a user will enter the identifying number of a company tool. When the user clicks the ComboBox down arrow, I want to run a query to populate the grid with the tool maintenance dates and information. Is there a way to delay the dropdown opening until the databinding is complete? Is there any code available? Is there a better way to do this?
Any help would be appreciated.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
As to delay opening the DropDown, no, there is no way for you to delay the drop down opening. When user clicks the arrow, the drop down will open. However you can hide the Grid initially and open display the Grid after you are done with loading the data (for example, you can put the Grid in a DIV with "display:none" initially but then after refreshing the data you can remove that attribute to display the Grid.
As other part of your question, we do not see any problem with that. However it is not our position to advice you on implementations. We can tell you whether it will work with our product, but we can not tell you whether there is a better way because those not only have to do with your specific application requirement and business logic, it also is very subjective ---- for example, some people prefer to do the search in a dropdown since the initial UI would be cleaner, but some other people prefer the textbox to be there right from start because they don't like an additional mouse click.
Thanks!
|