w2grid.getRecordHTML

Returns final HTML for a record.
getRecordHTML(index, line_number, [summary])
index integer, record index in the records or summary array
line_number integer, line number for the record
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 line_number is the line number for the record. This method will return final HTML after it applies formatters and calls render function (if any) for all cells in the record.
If you have grid defined in the following way: You can get record HTML:

User Comments

comments powered by Disqus