Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
I have reviewed the features of the Data Tables widget, but I do not see any documentation around "freezing" the first column. I see documentation around freezing the header row, which I included as a picture for reference, but nothing further.
Could you please point me in the right direction? Thanks for your help!
This is where I have been reviewing:
Pls check this example of fixed columns for DataTables in client side setting:
You could convert those options to PHP array and use them in DataTables widget like this:
DataTables::create(array( ... "options" => array( "scrollY" => "300px", "scrollX" => true, "scrollCollapse" => true, "paging" => false, "fixedColumns" => array( "leftColumns" => 1, "rightColumns" => 1 ) ), ));
Let us know how it works for you. Tks,