ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: bsolteam on February 20, 2017, 05:48:20 pm

Title: Row Editable
Post by: bsolteam on February 20, 2017, 05:48:20 pm
Hi Team,
      We are using param query grid where each grid contains 40-50 columns. I need to make particular row editable based on some conditions. if i use editable callback function it will be very difficult to add it for all the columns and condition i need to put it in all the place.

I can use this event $( ".selector" ).pqGrid( "option", "editable", function( ui ){});

To be simple how to make row editable by using rowIndx ??. so that i can make entire row editable

Kindly suggest

Thanks



Title: Re: Row Editable
Post by: paramvir on February 21, 2017, 10:01:40 am
rowIndx is a property of ui.

Code: [Select]
editable: function( ui ){
  if ( some condition based on ui.rowIndx ){
    return true;
  }
  else{
    return false;
  }
}