Author Topic: Tip: Entering batch editing mode  (Read 2049 times)

tiberiuspv

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 4
    • View Profile
Tip: Entering batch editing mode
« on: June 10, 2015, 01:00:06 am »
I had some trouble making my grid enter batch editing mode.
You need to provide the trackModel property and the recIndx property in dataModel. So something like:

    $( ".selector" ).pqGrid( {
        dataModel:{ recIndx: "id", . . . },
        trackModel : { on: true },
        . . .
    } );

where id is the row master key.

This is mentioned in the doc under trackModel, but is easy to overlook (at least it was easy for me to overlook  :) ).
Once you do that, it works like a charm...