Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Grid spacer column

    Hi there, we have a request from a customer for the ability to add multiple "spacer" columns to a grid. They just want to add spacer columns to separate and format the display of their grid. Do you have any recommendations on the best way to allow this?

    #2
    You could add right or left padding to an existing column, via getCellCSSText() and updating the listGridField.headerBaseStyle. Make sure the padding is the same in all states (rollover, selected, down for the header buttons, etc).

    You probably want to think through whether reordering is allowed, and whether to move or hide the spacer if it is allowed.

    You could alternatively just use an actual field as a space, with a blank title and some styling differences. You might then allow the end user to rearrange, add or remove spacer columns as desired.

    Comment

    Working...
    X