hello guys
I need to include buttons in paging to jump to the first / last page.
i noticed the following code to build a custom paging:
Grid[1]._pgn_custom = function(page,start,end){
var html = '<input type="button" value="Previos"><span>Current page: '+page+'</span><input type="button" value="Next">' ;
Grid[1]._pgn_parentObj.innerHTML = html;
Grid[1]._pgn_parentObj.childNodes[0].oncli ck = function() { Grid[1].changePageRelative(-1); }
Grid[1]._pgn_parentObj.childNodes[2].onclick = function() { Grid[1].changePageRelative(1); }
}
How can i include my 2 buttons? Is there a way to keep bricks style?
Thank you in advance
best regards
Oliver