ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: maui_uku on April 23, 2020, 05:20:17 am

Title: Issue with summaryData - button css does not change
Post by: maui_uku on April 23, 2020, 05:20:17 am
Hello,

I am having an issue with a detail grid and its summaryData.  If summaryData is enabled it does work and shows the sum of the column.  The problem is when I go to edit the data in the row.  The "Edit" button does not switch back to "Edit" after clicking it when it is "Update".  You can see the issue here:

https://stackblitz.com/edit/paramquery-demo-wa52s5?file=index.html

Comment out the summaryData and the buttons and updates work fine but i would really like to have that summary row in there.  Thoughts?

Thank you.
Title: Re: Issue with summaryData - button css does not change
Post by: paramvir on April 23, 2020, 01:59:20 pm
Workaround to this issue is to use mousedown instead of click event listeners on "Update" and "Cancel" buttons.

https://stackblitz.com/edit/paramquery-demo-cfwvby?file=index.js