Skip to main content

[archive] first column of grid always visible (Hscroll)

  • June 22, 2007
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre

5 replies

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre
It can be done, but you have a lot of programming ahead of you to do it. Consider using two grid,s one a single column and the other grid the rest of the data. That way the scroll only work on columns you don't care what happens.

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre
Set the ROW-HEADING property to TRUE (if are you using AcuBench?) and it will happen for you. For Example:-              05 SS02-Gd-Docket-Lines, Grid,
                 COL 3.20, LINE 39.00, LINES 26.00 CELLS,
                 SIZE 62.80 CELLS,
                 ADJUSTABLE-COLUMNS, 3-D, CENTERED-HEADINGS,
                 COLUMN-HEADINGS,
                 DATA-COLUMNS (1, 5, 21, 27, 87, 91, 100, 108, 117, 121,
                 135, 143, 152, 153, 155, 157, 159, 173, 181, 189, 197),
                 DISPLAY-COLUMNS (1, 5, 19, 27, 52, 58, 66, 74, 82, 88,
                 102, 110, 118, 120, 123, 126, 129, 143, 151, 159, 167),
                 ALIGNMENT ("R", "L", "L", "L", "C", "R", "R", "R", "U",
                 "U", "R", "R", "U", "U", "U", "U", "U", "R", "R", "R",
                 "R"),
                 DATA-TYPES ("Z(4)", "X(16)", "X(6)", "X(60)", "X(4)",
                 "9(9)", "9(8)", "9(11)", "X(4)", "X", "X", "X", "X",
                 "X", "X", "X", "X", "X", "X", "X", "X"),
                 SEPARATION (5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
                 5, 5, 5, 5, 5, 5, 5),
                 DIVIDER-COLOR 1, DRAG-COLOR 1,
                 HSCROLL, ID IS 144, NO-TAB, [B]ROW-HEADINGS[/B],
                 TILED-HEADINGS, VPADDING WSSVI-GRID-VPADDING, VSCROLL,
                 EVENT PROCEDURE 1011-SS02-Grid-Event-Procedure.


See section 5.11.1 Grid: Common Properties of the User Interface Programming manual. You shouldn't need to do any coding at all :)

Cheers,

Ian

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre
ok it works.

thanks

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre
ok it works.

thanks

[Migrated content. Thread originally posted on 22 June 2007]

I have a (paged) grid with about 30 columns and I want the first column to be displayed all the time. So when I scroll to the right I want to still see the first column. Is this possible?

Thanks
Andre
ok it works.

thanks