Hi,
I have an UltraWebGrid. I have too many columns so I want to hidde some columns and show some information when the user click in a row. My idea is just to show the information as Edit Row Template works.... but I need to be able to edit the columns I am editing now from the grid without using the row template tool... this is: I want to use the Row Template to show more information, and be able to edit the cell in the grid when the user need to enter information (without using row template for this), is it possible?
Thanks,
Fernando
Hello Fernando,
This is possible using our client-side object model (CSOM) - which is documented in details here. You just need to get a reference to the grid using the global igtbl_getGridById method - for example:
var grid = igtbl_getGridById("<%= UltraWebGrid1.ClientID %>");grid.beginEditTemplate();
More info and detailed description of our CSOM can be found here:
Grid CSOM documentation
Ok, thanks for your answer. Another question: is there any way to manually show the form used to edit data? I think it is automatically shown, but I saw in the samples this javascript code:
oGrid.beginEditTemplate();
oGrid.EndEditTemplate();
(oGrid = the UltraWebGrid control)
but this doesn't work for me, how can I use it?
or the form is shown only when the grid is being edited?
thanks,
Unfortunatley as far as I can tell this mixed mode is not something the grid supports out of the box. You can however submit this idea as a Feature Request using this form:
http://devcenter.infragistics.com/protected/requestfeature.aspx