Author Topic: How to remove column dragging from history  (Read 1783 times)

MichalV

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 8
    • View Profile
How to remove column dragging from history
« on: February 15, 2025, 10:34:24 pm »
Hi Paramvir,
Is there an option to remove column reordering from history? So the save/undo/redo buttons are not activated upon column reordering?
Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6373
    • View Profile
Re: How to remove column dragging from history
« Reply #1 on: February 17, 2025, 12:47:02 pm »
There's no option currently. it's been added to the upcoming version, thanks for your feedback.

MichalV

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to remove column dragging from history
« Reply #2 on: February 17, 2025, 03:00:01 pm »
Thanks for your reply. Any workaround how to activate the Save button (in batch edit mode) just if the grid is really dirty?
I've tried history event with isDirty(), but it runs before the grid gets dirty.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6373
    • View Profile
Re: How to remove column dragging from history
« Reply #3 on: February 17, 2025, 07:12:50 pm »
Please check the corrected example:

https://paramquery.com/pro/demos/editing_batch

MichalV

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: How to remove column dragging from history
« Reply #4 on: February 17, 2025, 09:56:35 pm »
It works well! Many thanks for your help!
« Last Edit: February 17, 2025, 10:47:29 pm by MichalV »