Is it possible to assign a specific custom editor control to a specific cell?
Example:
row 1
column 2 set to datetimechooser
row 2
column 2 set to textbox
row 3 column 2 set to dropdown combo..
is this possible? If it isn't, then is there another asp.net grid that can be done like this?
Hello Daryl,
Basically we have implemented "out of the box " editors for the grids / WebDataGrid / UltraWebGrid / but they are based on column level means that a particular editor is attached to a specified column. In this case I think that you will be able to achieve your goal as you use template columns and for example on InitializeRow even to get access to desired row / cell and put whatever controls you like.
I wold suggest look at the samples here: http://samples.infragistics.com/2009.2/WebFeatureBrowser/Default.aspx = > ASP.NET (AJAX Enabled = > WebGrid ).
Please refer this link for "how to" use Template column in context of UltraWebGrid Template Columns
Thank you .
I looked at the example you pointed out. Unfortunatley, like most of the code samples infragistcs has, it's pretty useless.
Some day you folks might want to create samples that run on thier own.. meaning someone can drop the code in thier project and run it. since you all have links to data stylesheets etc.. that we don't have..
it's pretty hard to try the code and play with it.
The section on columns was basic and told me stuff I already knew.
What I am attempting to do is assign different template controls to different cells in the same Column.
I can do that by using the rowinit event, but upon postback, nothing is there... Since it is done in code, there is no state on the return trip...
si is it possible to have a editor control1 for row1,column1 and editorcontrol2 for row,column2?
See what I am driving at? This can be done on the winforms grid.