Home All Groups Group Topic Archive Search About

DataGrid Row Labeling

Author
10 Aug 2006 4:19 PM
DGP
It appears that captions (or labels) can only be placed on the column
headings (datacolumn.caption) and not along the row axis.  For large
dataset, it would be useful to provide row numbers without having to
insert the numbering directly into the datasource (ie along the x axis
of the grid where the asterisk and pointer appear).

Perhaps I am overlooking something and if not, perhaps someone has come
up with a useful work-around.

Thanks,
dgp

Author
10 Aug 2006 5:39 PM
Cor Ligthert [MVP]
DGP,

Maybe can adding a column in your datatable be a workaround for you and make
that column read only in your datagrid.

However be aware that you should than set any sort functionality to off.
In fact there is not a real row sequence in a datagrid.

Cor

Show quoteHide quote
"DGP" <plu***@usa.net> schreef in bericht
news:1155226750.814942.237760@m73g2000cwd.googlegroups.com...
> It appears that captions (or labels) can only be placed on the column
> headings (datacolumn.caption) and not along the row axis.  For large
> dataset, it would be useful to provide row numbers without having to
> insert the numbering directly into the datasource (ie along the x axis
> of the grid where the asterisk and pointer appear).
>
> Perhaps I am overlooking something and if not, perhaps someone has come
> up with a useful work-around.
>
> Thanks,
> dgp
>