Class zebkit.ui.grid.CompGridCaption.TitlePan <zebkit.ui.grid>

Title panel that is designed to be used as CompGridCaption UI component title element. The panel keeps a grid column or row title, a column or row sort indicator. Using the component you can have sortable grid columns.

Constructor:
zebkit.ui.grid.CompGridCaption.TitlePan (a)

Parameters:
  • a <String>

    grid column or row title




public chainable setIcon (path)

Set the caption icon


Parameters:
  • path <String | Image>

    a path to an image or image object


public <zebkit.ui.Panel> content

Title content

public <zebkit.ui.ImagePan> icon

Image panel to keep grid caption icon

public <Boolean> isSortable

Indicates if the title panel has to initiate a column sorting