Home - Forums-.NET - FlyGrid.Net (Windows Forms) - How can I make the flygrid showing the actual row numbers

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

How can I make the flygrid showing the actual row numbers
Link Posted: 11-Apr-2006 18:59
Hello !!

I did what you mentioned on the support board and I managed to have
the down arrow symbol visible all the time.

I have another question and that is if it's possible to let the
flygrid show the actual row number
starting from 1 for all rows in the flygrid.

We use DynamicallyAutoDetectDataTypeColumn as you know.

For example if I add  3 rows with the following contents
row 1 contains abc
row 2 contains def
row 3 contains ghi

The flygrid should here show
1 abc
2 def
3 ghi

If I delete row 2 with contens def the flygrid should show
1 abc
2 ghi

If I add a new row before row 1 with contents test the flygrid should
now show
1 test
2 abc
3 ghi

How is this done?

//Tony
Link Posted: 12-Apr-2006 01:39
See the SpreadSheet sample- in this sample you can find the column that shows rows numbers.
Link Posted: 02-Feb-2007 11:10
Can it be done without using up a column so that the row numbers show in the row header after setting:

FlyGrid1.Rows.Options = RowsOptions.ShowRowHeaders;
Link Posted: 02-Feb-2007 11:24
See the Spreadsheet sample - this sample uses specially designed column to show row numbers.