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

Dynamic combobox doesn't respond in Grid in batch edit mode

1 Answer 211 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Petr
Top achievements
Rank 1
Iron
Petr asked on 26 Mar 2019, 12:46 PM
Hi,

I have RadGrid in batch edit mode which includes 2 different comboboxes. Both of them has your own template. One of the combobox is the same for all rows, but values in second combobox depends on value in another column, the value works like a filter. I check several discussions how to do it and I implement combobox with client functions on DropDownOpening (get value from row column) and ItemsRequesting (cancel event for second event) events. Everything works fine and data are loaded correctly in combobox. But I cannot select any value. If I open drop down list, I can scroll it and see everything, but it doesn't respond to any click. Also hover style is not applied for items. It looks like combobox is not fully loaded, but I don't see any error in JS or any other else.

Did you see this kind of problem anytime?

Maybe there is a problem that I have 2 different comboboxes in grid. But one of them works without problems and second shows correct data and reload it correctly for each row. Maybe there is some problem with template, but I cannot find it and the same template works in all other comboboxes in my application.

Do you have idea what I can check?


Thanks a lot for any advice,
Petr

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 29 Mar 2019, 08:18 AM
Hi Petr,

Batch editing is based fully on client-side and it is essentially different than other server-side modes:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-batch-edit-mode


I'm afraid this requirement is not supported with Batch editing. You can use InPlace edit mode instead, which resembles Batch editing:
https://demos.telerik.com/aspnet-ajax/dropdowntree/examples/applicationscenarios/dropdowntreeingrid/defaultcs.aspx?product=grid
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/edit-mode/in-place

You can also add AJAX to simulate behavior similar to client-side performance.

For cascading comboboxes editing implementation, you can also check the samples provided here:
https://www.telerik.com/forums/radcombobox-cascading-inside-radgrid#GxsIQqyyPkqj1Za-mNbalg

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Petr
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Share this question
or