Hi all
How can I display an embeded Editor like WebCombo always anyway if the cell/row is in edit mode or not?
I mean it should be possible to see as end user that there is a comboBox in a field and if I click onto this editor (CobmoBox) then the dropdown should open imediateli and not the cell goes first into edit mode and then i need a second click to open the editor and a third click to choose the value.
Thank you for your help
RegardsAdrian
Hi Adrian,
For performance reasons, external grid editors are dynamically positioned over a cell only after that cell begins edit mode. Take for instance a dropdown column. Rather than having a WebComboBox created for each row, the grid re-uses a single combobox and positions it over the cell which is being edited. Because of this, you must first put the cell into EditMode before the combobox will appear.
You have a couple of alternatives. You can also use a Cell Template to do the same thing, but you would have to hook up the data values yourself.
The second option would be to use the WebGrid's client-side events to put the cell in edit mode and manually dropdown the webcombobox. This is theoretically possible, but it would be tricky.
-Tony
Hi Tony,
Here the problem is that when you have somany values (say abt 5000) in combobox it is taking time to populate on the page when the cell is clicked. Is there any alternate way for this? so that the issue can be resolved.
The other thing that I wanna ask you is. I have devoloped a custom control. i want to use this custom control in UltraWebGrid. is there any example exists in the forums to add custom control in ultra web grid.
Regards,
Harry