ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: pattarsuresh on June 24, 2025, 05:01:49 pm

Title: Enable save changes button after check the checkbox without changing any rowdata
Post by: pattarsuresh on June 24, 2025, 05:01:49 pm
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
Title: Re: Enable save changes button after check the checkbox without changing any rowdata
Post by: paramvir on June 26, 2025, 10:42:30 pm
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: [Select]
$( selector of save button ).button("option", "disabled", false );
Title: Re: Enable save changes button after check the checkbox without changing any rowdata
Post by: pattarsuresh on July 01, 2025, 05:26:45 pm
@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
Title: Re: Enable save changes button after check the checkbox without changing any rowdata
Post by: paramvir on July 01, 2025, 05:53:02 pm
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.