Plug in
Plug in
Hi there,
new to the datatable world, and need some assistance using one of the plugins. How does one use the .js file which is mentioned that is need. In the plugin section, it refers to : script type="text/javascript" src="dataTables.scrollingPagination.js">
Do i create this file myself, and then fill it with the plugin details?
new to the datatable world, and need some assistance using one of the plugins. How does one use the .js file which is mentioned that is need. In the plugin section, it refers to : script type="text/javascript" src="dataTables.scrollingPagination.js">
Do i create this file myself, and then fill it with the plugin details?
This discussion has been closed.
Replies
Exactly that. The Javascript is provided for the plug-in. Where you put it and how you include it on your page is entirely up to you.
Allan
Cheers
able = $("#grdMsgDateDetail").dataTable({
bJQueryUI: true,
sPaginationType: "four_button",
sDom: 'Rlfrtip',
oColReorder: {
aiOrder: [13,12,11,10,9,8,7,6,5,4, 3, 2, 1, 0]
},
sDom: 'RC<"clear">lfrtip',
aoColumnDefs: [
{ bVisible: false, aTargets: [10,11,12,13] }
]
});
I want to use the four_button api. I've done a cut and paste of the function on the page. Do i need anything further in the file?
Many thanks.
Allan