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

[Solved] Would you use a RadGrid?

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 28 Sep 2009, 03:03 PM
I would like to build a kind of matrix to edit data on a cell per cell basis.

The number of rows and columns will depend on some runtime user choices.
The content of each cell will also depend on these choices. It could be a checkbox, a combobox, some text or number entry, etc.
The type of content will be the same for all cells in one column.

Each cell will have to contain several pieces of data (value, underlying key, small number for optimistic locking, etc) which probably means I won't be able to return my underlying data to the page as a matrix but as a simple "flat" table and I'll have to build the grid cells myself on the fly...

Because I want to edit on a cell by cell basis, I don't want to switch an entire row in edit mode.
I'd rather have small "Edit" "Cancel" "Save" buttons in each cell.


Given that sort of (complex) requirement, would you use a RadGrid?

If the answer is "No" (as I suspect), what kind of control would you suggest, if any?


Thanks

Eric

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Sep 2009, 01:16 PM
Hi Eric,

An inbuilt functionality as such is not available with the RadGrid control but you can use custom logic to implement cell editing in RadGrid. Check out the application that I have submitted which illustrtates on cell editing in the following link. This should perhaps, help you get started.
CellEditing of RadGrid with GridBoundColumn

Thanks
Princy.
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or