Author Topic: fillhandle  (Read 1688 times)

arbyter

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
  • Retired IT Guy
    • View Profile
fillhandle
« on: August 22, 2019, 08:16:09 pm »
hi
i would like enable fillhandle  just  on certain columns, not globally.
Can you give me an example?

Thank you

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: fillhandle
« Reply #1 on: August 22, 2019, 10:12:13 pm »
Please use beforeFillHandle event

Example: Following event handler can be used in this demo https://paramquery.com/pro/demos/autofill
to enable fillHandle only for 'OrderDate', 'ShipName', 'ShipRegion' columns.

Code: [Select]
beforeFillHandle: function(evt, ui){
if(['OrderDate', 'ShipName', 'ShipRegion'].indexOf(ui.dataIndx) == -1 ){
return false;
}
},