Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
#myGridID .slick-header-columns {
  display: none;
}

How to add css class to the grid header

In grid columns definition add:

Code Block

 headerCssClass: 'ccsClass1 cssClass2'

Formatter Arguments

row=  row id
cell=  cell id
value= cell value
columnDef Object=what it sounds like, the definition of this column

 

field

"range0"

 

headerCssClass

null

 

id

"range0"

 

minWidth

30

 

name

"07/2012"

 

rerenderOnResize

false

 

resizable

true

 

sortable

false

 

width

65

 

formatter

a reference to the formatter object, ie this

dataContext Object= the Row Object (every field in the dataView for that row)