DataGrid Row Labeling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DGP

    #1

    DataGrid Row Labeling

    It appears that captions (or labels) can only be placed on the column
    headings (datacolumn.cap tion) 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

  • Cor Ligthert [MVP]

    #2
    Re: DataGrid Row Labeling

    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

    "DGP" <plugge@usa.net schreef in bericht
    news:1155226750 .814942.237760@ m73g2000cwd.goo glegroups.com.. .
    It appears that captions (or labels) can only be placed on the column
    headings (datacolumn.cap tion) 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
    >

    Comment

    Working...