Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:pager [2010/04/17 03:30] preichow |
wiki:pager [2010/09/27 18:47] marcus Added that if the string stop is returned from the function then the paging will be stopped |
||
---|---|---|---|
Line 117: | Line 117: | ||
</script> | </script> | ||
</code> | </code> | ||
- | |||
===== Events ===== | ===== Events ===== | ||
One event of the grid relates to the Pager: | One event of the grid relates to the Pager: | ||
^Event^Parameters^Description^ | ^Event^Parameters^Description^ | ||
- | |onPaging|pgButton|This event fires after click on [page button] and before populating the data. Also works when the user enters a new page number in the page input box (and presses [Enter]) and when the number of requested records is changed via the select box. To this event we pass only one parameter //pgButton// (string) which can be - //first,last,prev,next// in case of button click, //records// in case when a number of requested rows is changed and //user// when the user change the number of the requested page.| | + | |onPaging|pgButton|This event fires after click on [page button] and before populating the data. Also works when the user enters a new page number in the page input box (and presses [Enter]) and when the number of requested records is changed via the select box. To this event we pass only one parameter //pgButton// (string) which can be - //first,last,prev,next// in case of button click, //records// in case when a number of requested rows is changed and //user// when the user change the number of the requested page. If the string //stop// is returned from the function then the paging will be stopped.| |
+ | |||