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

Save changes button doesn't call update method (apply changes from template column)

0 Answers 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yuriy
Top achievements
Rank 1
Yuriy asked on 24 Jul 2012, 11:57 AM

Hi

I have grid with template for column A

template: '<input type="checkbox" class="Acolumn" #= A ? checked="checked" : "" # />'
and delegate 

$(divGrid).delegate(".AColumn", "click", function (e) {
                var dataItem = grid.dataItem($(this).closest("tr"));
                dataItem.A = $(this).is(':checked');
            });

Data Source configured with following options: autosync, transport update url, batch

Grid configuration : editable. Save changes button at the grid header.

It works ok when checkbox is selected data in data source changed successfully but Save changes button of the grid doesn't call update method of data source. 

What could be a reason of this issue?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Yuriy
Top achievements
Rank 1
Share this question
or