Hide table header

i want to hide header when no data present in the grid.

Hide your grid if no datas available

You can hide grid header with setNoHeader() method:


Method should be called before initialization, but after setHeader. setHeader have to be called in any way as it defines number of columns.