setPagingTemplates

allows setting paging templates for the default skin

void setPagingTemplates(string navigation_template,string info_template);

Parameters

navigation_templatestringa template for paging controls zone
info_templatestringa template for paging state zone

Example

mygrid.setPagingTemplates(
    "Pages - [current:0] [current:+1] [current:+2], from [total] rows", 
    "Pages <b>[from]-[to]</b> of <b>[total]</b>"
);

Back to top