I'm trying to figure out how to control an individual cell's editor (not column, a particular cell) in Telerik's RadGrid control.
For example, I need the following layout:
--------------------------------------------------开发者_开发问答------------------------
|Name Column |Col 1 | Col 2 | Col 3 |
--------------------------------------------------------------------------
|Some Name | <drop down> | <drop down> | <drop down> |
--------------------------------------------------------------------------
|Another Name | <drop down> | <drop down> |<drop down> |
--------------------------------------------------------------------------
| Check These | <checkbox> | <checkbox> | <checkbox> |
--------------------------------------------------------------------------
|<submit button> |
--------------------------------------------------------------------------
Having it do the drop down lists and also putting in the submit button at the bottom is no problem. However, I can't figure out how to set the editor for the checkbox cells to be checkboxes.
Any ideas?
In the Telerik grid the editors are set per column basis as this is normal, Chris - the column values are of the same type and it is not logical to have dropdown editor and boolean/checkbox editor within the same column. The only possible solution might be to use single global item template (one row) or single template column with all the editors inside it. Not sure how this works in your case though.
精彩评论