Author Topic: numbercell start with 0  (Read 2356 times)

methney

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 7
    • View Profile
numbercell start with 0
« on: September 25, 2014, 09:43:13 am »
Hi there!!
I'd like to use number cell start with 0, not 1.
I'm wondering this is possible or not.
Are there any options?

Thank you every time!!!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: numbercell start with 0
« Reply #1 on: September 25, 2014, 01:10:43 pm »
It can be done by using a normal column whose column.render callback is implemented as

render: function(ui){
  return ui.rowIndxPage;
}
« Last Edit: September 25, 2014, 01:20:58 pm by paramquery »