Is there a way to via server-side or client side to freeze the top row of headers?
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 02 Aug 2016, 08:26 AM
Hello Brandon,
The SpreadsheetSheet object exposes the set_frozenRows() client-side method, which accepts int and will freeze the number of rows specified starting from row 1. For example if you want to freeze the first row you can pass 1 to the method (as shown in the code snippet below), if you want the Sheet's first three rows frozen you pass 3:
function pageLoad() {
var spreadsheet = $find("<%=RadSpreadsheet1.ClientID%>");
var activeSheet = spreadsheet.get_activeSheet();
activeSheet.set_frozenRows(1);
}
You can find the set_frozenRows() an other important SpreadsheetSheet object methods in the following documentation article.
Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.