ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: wstewart on November 18, 2020, 08:39:18 pm

Title: Hide row numbering
Post by: wstewart on November 18, 2020, 08:39:18 pm
Hi,

Is there a way to hide/turn off row numbering?

I have a first column that is the same as the  index in my data array - it starts at 0 and indeed pqGrid seems to expect that. However pqGrid first entry is presented as row number 1 - which is bit confusing for viewers. If I can turn off the row numbering then that will solve the problem as I don't actually use the row numbers (other than programatically as in addClass to a row or cell).

Even better would be to keep the row numbering but have the first row numbered as zero.

Thanks for any assistance.
Title: Re: Hide row numbering
Post by: paramvir on November 18, 2020, 09:43:52 pm
numberCell: { show: false }

https://paramquery.com/api#option-numberCell
Title: Re: Hide row numbering
Post by: wstewart on November 18, 2020, 11:24:23 pm
Thanks. :)