Datatable icon indicating copy to clipboard operation
Datatable copied to clipboard

Is it possible to add "bServerSide" as an option ?

Open paguemaou opened this issue 10 years ago • 2 comments

Hi, Thank you for this brilliant package.

Is it possible to make bServerSide an option (like the others options) ?

bServerSide = true is great for performance, but when I want to export data with TableTool, I can just export the active page of data (and not ALL the filtered data).

If no option is specified : bServerSide = true is great, but if bServerSide = false is passed as an option, may it "extends" the default settings ?

Thanks for your response,

Paguemaou

paguemaou avatar Nov 20 '14 11:11 paguemaou

that should be the case already or not? bServerside is set if it is not found in the options

Chumper avatar Nov 25 '14 16:11 Chumper

Hi chumper,

I've set bServerSide = false, but doesn't seem to work. Following is how my code looks like

{{ Datatable::table() ->setAliasMapping(true) ->addColumn($displayFields) // these are the column headings to be shown ->setOptions(array('bServerSide'=>false)) ->setData($data) ->render() }} Could you please help to check this out or maybe I'm doing it wrongly?

funnykiat avatar Feb 11 '15 03:02 funnykiat