I have started working on jTable, a jQuery plugin to create grids. I was going through the documentation. There I came across 2 terms - data.record and data.row. I have always understood that rows and records are synonymous. But obviously, in JTable, they mean different things and am not sure about the difference. It will be great if anybody can shed some light on this. Thanks in advance.
Here you can find where to use data.row
and data.record
data.row
returns table row (tr
) where we can get tr
properties like innerHTML, innerText, className, cells etc.
and
data.record
returns object where we can get data using columns names.
for example- data.record.FirstName
which will return one value of specific column.
Hope this is clear to you. In case of query revert back.