General Category > ParamQuery Pro Evaluation Support
Enable save changes button after check the checkbox without changing any rowdata
(1/1)
pattarsuresh:
Hi Team
I want to enable save changes button without changing any row data I mean after check the checbox in the grid then the save changes button should enable. please help me needful.
Thanks
Srinivasarao p
paramvir:
Though it doesn't make sense why would you do that.
you can enable save button by getting DOM reference to it and calling disabled false.
--- Code: ---$( selector of save button ).button("option", "disabled", false );
--- End code ---
pattarsuresh:
@paramvir, its my client requirement, when we check the checkbox then savechanges button should enable, is there any way to enable savechanges button please suggest.
Thanks
Srinivasarao p
paramvir:
If the checkbox is embedded within a grid cell, toggling its state should update the underlying data model—this, in turn, should enable the Save Changes button.
You can see this behavior in action in the following example: https://paramquery.com/pro/demos/editing_batch
It’s possible that in your implementation, the checkbox isn’t properly data-bound, which would prevent the grid from detecting the change.
Navigation
[0] Message Index
Go to full version