Hello, I'm use a DropDownProvider in WebDataGrid on v13.2. Is there a way to make the drop down visible at all times. Currently it only shows the drop down after double clicking into the cell.
Hi,
The DropDownProvider is previewed only when you enter edit mode.
If you want the column to have drop down all the times you can use column template. Here is a sample with column templates:
https://www.infragistics.com/samples/aspnet/data-grid/using-cell-and-column-templates
You can also look at this forum post how to add dropdown in a template:
https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/78261/webdatagrid-add-controls-to-internal-grid
If I use an item template I do see my webDropDown in every row like desired. However, I need my Value changed event to have access to the grid row it is in.
For Example, I have Cancel as an option in the dropdown that when selected needs to grab the ID value of another column in that row and call a server side method to handle it.
Is this possible with a column template?
Side Note: In the second link you sent me, it looks like they are using a dropDownEditor and provider
You can use the DropDown event OnSelectionChanged and in it you can get the DropDown row items.
I am sending you a sample where the DropDown is used as template and when a selection is changed in the text box are listed row values.WDGDropDownTemplate.zip