DHTMLX Docs & Samples Explorer

setFooterLabel(c, label, ind)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

sets new label for cell in footer

  • col - column index
  • label - new label for the cpecified footer's column. Can contain img:[imageUrl]Text Label
  • ind - footer row index (optional, 1 by default)
   //set new label for the first cell in the first footer's line
   mygrid.setFooterLabel(0,'New Label');
   //set new label with image for the first cell in the second footer's line
   mygrid.setFooterLabel(0,'img:[../codebase/imgs/image.gif]New Label',1);

See also: getFooterLabel, setColumnLabel