hi,
I have Grid who's id is "gWriter" with popup box edit.
And on Popup Box we have another grid "gAgent" which is also edited in popup mode.
I am trying to enable/disable the update/Save button when Edit model(e.model.new) is "new " of "gAgent" grid with below statement.
$(".k-edit-form-container .k-state-disabled").addClass("k-grid-update").removeClass("k-state-disabled");
$(".k-edit-form-container .k-grid-update").addClass("k-state-disabled").removeClass("k-grid-update");
But issue is the above statement disable/enabling the buttons on both the grids instead of only "aAgent" Grid.
Thanks,
Chatrapathi Chennam
I have Grid who's id is "gWriter" with popup box edit.
And on Popup Box we have another grid "gAgent" which is also edited in popup mode.
I am trying to enable/disable the update/Save button when Edit model(e.model.new) is "new " of "gAgent" grid with below statement.
$(".k-edit-form-container .k-state-disabled").addClass("k-grid-update").removeClass("k-state-disabled");
$(".k-edit-form-container .k-grid-update").addClass("k-state-disabled").removeClass("k-grid-update");
But issue is the above statement disable/enabling the buttons on both the grids instead of only "aAgent" Grid.
Thanks,
Chatrapathi Chennam