Returns final HTML for the cell.
getCellHTML(index, column_index, [summary])
index |
integer, record index in the records or summary array |
column_index |
integer, column index in the columns array |
summary |
boolean, optional indicates if to render summary record |
Returns HTML text.
Description
The first argument
index is the index of the record in the
.records array (or
.summary array,
if
summary argument is true). The second argument
column_index is the
index in the
.columns array. This method will return the final HTML, after it applies
formatters and calls the render function (if any) for the cell.
If you have a grid defined in the following way:
You can get cell HTML: