How I can add row number to the table in WebDataGrid? Does WebDataGrid has auto increment?
Hello Anton,
You can achieve this by enabling the RowSelectors behavior and setting RowNumbering to true:
<Behaviors>
<ig:RowSelectors RowNumbering="true" Enabled="true" />
</Behaviors>
Here is a live sample: http://es.infragistics.com/products/aspnet/sample/data-grid/row-selectors.
Let me know if you have further questions.
Thanks, Nikolay
I have the RowNumbering set to true and is it displaying the row number. However when the # goes into the 1000s+ the column isn't wide enough. How can I set this to widen the column appropriately?
reset the Row number when Row is deleted
option is available in ultrawebgrid .