This is a migrated thread and some comments may be shown as answers.

Different Column Editor per row

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
MarkInTexas
Top achievements
Rank 1
MarkInTexas asked on 20 Mar 2009, 08:53 PM
Is it possible to have different column editors on a per row basis.

Lets say I have this data where the first field in the name and the second field is the value. The value can be a date, string, int, decimal etc... I want to be able to supply a "Column" editor depending on the Type for the Value field in that row.

Sample Data
<Name, Value> where Name is a string and Value is an Object (Name is read only in the grid but Value needs an Editor)
"ADate", DATE
"AString", "A String"
"An Int", 5

If it is possible to have each row contain a different editor, can you give me some tips on how install a custom editor on a per row basis?

Thanks.
Mark.

1 Answer, 1 is accepted

Sort by
0
MarkInTexas
Top achievements
Rank 1
answered on 20 Mar 2009, 09:03 PM
Nevermind, I think I found my answer here: http://www.telerik.com/community/forums/aspnet-ajax/grid/column-having-different-types-per-row-possible.aspx

Unless perhaps you can provide any more information.

I guess use a Template column - with all controls that I need, and only show the one I need.
Tags
Grid
Asked by
MarkInTexas
Top achievements
Rank 1
Answers by
MarkInTexas
Top achievements
Rank 1
Share this question
or