Author Topic: Issue with summaryData - button css does not change  (Read 1696 times)

maui_uku

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 9
    • View Profile
Issue with summaryData - button css does not change
« 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issue with summaryData - button css does not change
« Reply #1 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