Hi,
How can I update the default params value for datatable? For now when I initialized datatable class using controller action like BusinessDatatable.new(view_context), then in logs I can see parameters like start,length etc How can I initialize datatable in such a way that its default parameter's values is updated. Default value for length param is 10 I want it to be 50.
Hi, How can I update the default params value for datatable? For now when I initialized datatable class using controller action like
BusinessDatatable.new(view_context)
, then in logs I can see parameters like start,length etc How can I initialize datatable in such a way that its default parameter's values is updated. Default value for length param is 10 I want it to be 50.