Is there feature on livewire powergrid for fixed column at end or beginning but other content are scrollable. #1543
rohitshakyaa
started this conversation in
General
Replies: 1 comment
-
Hi @rohitshakyaa, Probably the best solution would be to create a Custom Theme to implement the required CSS classes. One simpler approach, a first step that may be helpful, is applying Tailwind's sticky class to your first column. class MyTable extends PowerGridComponent
{
public function columns(): array
{
return [
Column::make('Barcode', 'barcode')
->bodyAttribute('sticky left-0 bg-white')
->headerAttribute('sticky left-0 h-fit bg-gray-200'),
Column::make('ID', 'id'),
//....
];
}
} Resulting in: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
just like in tabulator frozen column feature
Tabulator frozen col
how can i implement such feature in livewire powergrid
Beta Was this translation helpful? Give feedback.
All reactions