Author Topic: Toolbar Buttons (Auto Save Demo)  (Read 2616 times)

SMV93

  • Newbie
  • *
  • Posts: 8
    • View Profile
Toolbar Buttons (Auto Save Demo)
« on: September 15, 2017, 09:53:32 pm »
Hello,

I am applying the PQGrid Auto Save Demo to my ASP.NET Web Forms project and I am having issues getting the buttons in the PQGrid toolbar to work. I mainly want to implement adding rows. Undo, Redo, and Export to Excel features are secondary and can come later. The issue seems like the toolbar button "click" event is not firing. Editing the grid, deleting rows, and paging works in my grid. It's only items related to the toolbar.

Here is a jsFiddle of my code. http://jsfiddle.net/pb5kpred/65/

Also, thank you for creating ParamQuery. I'm coming from ASP.NET GridView, so PQGrid is a huge improvement. I'm really enjoying PQGrid so far.
« Last Edit: September 15, 2017, 10:38:58 pm by SMV93 »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5641
    • View Profile
Re: Toolbar Buttons (Auto Save Demo)
« Reply #1 on: September 16, 2017, 10:10:29 am »
There's older version v2.0.4 in the jsfiddle.

Please use latest free version.

https://paramquery.com/Content/js2.2.0/pqgrid.min.js or download it from github.

SMV93

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Toolbar Buttons (Auto Save Demo)
« Reply #2 on: September 20, 2017, 11:04:51 pm »
That did the trick! Thank you so much!