@@ -36,6 +36,35 @@ public function render(): \Illuminate\Contracts\Foundation\Application|\Illumina
3636    "isHtml" => false 
3737    "title" => "Created At" 
3838    ]*/ 
39-         return  view ('livewire-tables::datatable ' );
39+         return  view ('livewire-tables::datatable ' )->with (
40+             [
41+                 'tableName '  => $ this getTableName (),
42+                 'tableId '  => $ this getTableId (),
43+                 'primaryKey '  => $ this getPrimaryKey (),
44+                 'isTailwind '  => $ this isTailwind (),
45+                 'isBootstrap '  => $ this isBootstrap (),
46+                 'isBootstrap4 '  => $ this isBootstrap4 (),
47+                 'isBootstrap5 '  => $ this isBootstrap5 (),
48+                 'localisationPath '  => $ this getLocalisationPath (),
49+                 'getCurrentlyReorderingStatus '  => $ this getCurrentlyReorderingStatus (),
50+                 'currentlyReorderingStatus '  => $ this getCurrentlyReorderingStatus (),
51+                 'showBulkActionsSections '  => $ this showBulkActionsSections (),
52+                 'showCollapsingColumnSections '  => $ this showCollapsingColumnSections (),
53+                 'selectedVisibleColumns '  => $ this selectedVisibleColumns (),
54+                 'columnCollapseInfo '  => $ this getCollapsedColumnsForContentAll (),
55+                 'collapsingColumnDetails '  => $ this getCollapsedColumnsForContentNew (),
56+                 'tdAttributes '  => $ this getBulkActionsTdAttributes (),
57+                 'tdCheckboxAttributes '  => $ this getBulkActionsTdCheckboxAttributes (),
58+                 'collapsingColumnButtonExpandAttributes '  => $ this getCollapsingColumnButtonExpandAttributes (),
59+                 'collapsingColumnButtonCollapseAttributes '  => $ this getCollapsingColumnButtonCollapseAttributes (),
60+                 'hasCollapsingColumns '  => ($ this collapsingColumnsAreEnabled () && $ this hasCollapsedColumns ()),
61+                 'shouldCollapseAlways '  => $ this shouldCollapseAlways (),
62+                 'shouldCollapseOnTablet '  => $ this shouldCollapseOnTablet (),
63+                 'shouldCollapseOnMobile '  => $ this shouldCollapseOnMobile (),
64+                 'coreTableAttributes '  => $ this getCoreTableAttributes (),
65+                 'hasDisplayLoadingPlaceholder '  => $ this hasDisplayLoadingPlaceholder (),
66+                 'hasTableRowUrl '  => $ this hasTableRowUrl (),
67+                 'colspanCount '  => $ this getColspanCount (),
68+             ]);
4069    }
4170}
0 commit comments