I am currently using infragistics v.6.3. I have a data bound web grid which I want to create a cell template with a text box in it. However my web grid is defined in InitializeLayout event in C# and I want to define the cell template there as well. I am not sure what the syntax is to define a cell template. Any suggestions?
Hello,
Yes, this is possible -- there is an interface called ITemplate that a custom class needs to implement at rutime.
There is a great thread on how this can be achieved, complete with full source code:
http://forums.infragistics.com/forums/t/2995.aspx
Hope this helps.
Hey thanks for the help! The only problem I am having now is that my grid is already data bound so the columns are already created. I don't want to add new ones and I'm not sure how to change the data bound columns to a templated column. Also I am not sure where to write the code for the RestoreTemplateColumn function. If you could help me out that would be awesome!