05. Optional CSS classes for custom HTML

Here is the internal classes grid uses for when it generates the HTML cell markup for you in "simple HTML" and "column.bind". If you use custom HTML columns you can use these to help you get started. Or if you use "simple HTML" columns and combine it with 1 custom HTML and need it to look the same.

classes

checkboxes (header and rows):

  • vgrid-row-checkbox-100 (100% height)

  • vgrid-row-checkbox-50 (50% height)

labels (headers):

  • vgrid-label-bottom

  • vgrid-label-top

  • vgrid-label-full

image (rows):

  • vgrid-image-round

inputs (rows):

  • vgrid-row-input

inputs (header):

  • vgrid-header-input-bottom

  • vgrid-header-input-top

Sample:

classes image

Sample code from picture above

checkbox

image

text

selection (not is picture above)

Last updated