Check documentation for the latest version of dhtmlxSuite setFooterLabel DHTMLX Docs

setFooterLabel

sets a new label for a cell in the footer

void setFooterLabel(number col,string label,number ind);
colnumberthe index of a column
labelstringa new label for the specified footer's column. Can contain img:[imageUrl]Text Label
indnumberthe index of a footer row (optional, 1 by default)

Example

//set a new label for the first cell in the first footer's line
mygrid.setFooterLabel(0,'New Label');
//set a new label with an image for the first cell in the second footer's line
mygrid.setFooterLabel(0,'img:[../codebase/imgs/image.gif]New Label',1);

Back to top