fixes a row at the top of the datatable at runtime

void freezeRow(number|string id,boolean state);
idnumber|stringoptional, the row id
statebooleanoptional, true - to move a row to the "frozen" block, false - to unfreeze a row

Available only in PRO Edition


$$("grid").freezeRow(id, true);


Note that if you don't pass any parameters to the method, all frozen rows will be unfrozen. The method is inapplicable if called for Datatable (or any successor) with Pager.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix open source html5 framework and page of javascript datatables product.