Custom Tag: cf_loader
Purpose of Use
On listing pages, when scrolling down to the end of the page or by clicking the Show More button, it takes the desired number of records as HTML content from the defined ajax page and adds it to the end of the specified element.
Parameters
| Attirubutes | Description | Data | Required |
| data_type | To specify which type of data will be returned from the Ajax process used (HTML) - JSON To Be Appended | String | H |
| append_element | Used to specify which element the data returned as a result of the operation will be written (elementid) | String | E |
| href | Determines which file the content will be taken from. The url to request the content is sent | String | E |
| totalCount | Total number of records in the table | Int | E |
| startrow | Determines from which row the records will be displayed | Int | E |
| maxrows | How many records will be listed in the loader process determines | Int | E |
| win_scroll | Gets 1 or 0. If you want the content to be loaded as you scroll down, 1 is sent, if you want it to be loaded only by clicking the button at the end of the page, 0 is sent. | Int | H |
Sample Usage
1-V16/settings/display/stepbystep_imp.cfm
2-V16/forum/display/list_forum.cfm
3-V16/rules/display/list_hr.cfm