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

RadGrid Only has One Column Editor for all Items in Grid

1 Answer 171 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kristopher
Top achievements
Rank 1
Kristopher asked on 03 Feb 2014, 08:31 PM
I'm using the RadGrid with in-grid, batch editing enabled.  I have the edit columns automatically generated for the rad grid.  If I have one item, and I edit all the fields, I can get these changes after hitting my "update" button on the screen by: 

    masterTableView.GetBatchColumnEditor(myColumn) as GridTextBoxColumnEditor.TextBoxControl;  

I can do this for all of my cells.  But when I have more than one item in my grid, this editor only reflects the changes to the most recently changed object.  When looking throughout the masterTableView and the Edit manager, it seems there is only one of these editor controls for each column, not one for each cell.  Reading online, it seems there should be one for every cell.  Am I understanding this correctly, or is this a limitation of radgrid?  

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Feb 2014, 11:11 AM
Hi Kristopher,

The batch editing mode use only one editor for a single column. All editors are rendered in a hidden panel and are only visible when a cell/row is opened for edit. Accessing these editors and the panel which holds them is achievable by calling the GetBatchColumnEditor or GetBatchEditorContainer methods of the GridTableView which take as an argument the column or it's UniqueName.
Please take a look into the following documentation
Batch Editing

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