Hi Team,
I want to update the data table scrollbar style with custom theme. Is't possible to use the scrollpanel and datatable component together.
Thanks
Using scroll panel in datatable
Yes, you can use scrollpanel and datatable together like the below but you may need to add some styles for looking good.
We will also discuss with our team to add an option for scrollbar style in datatable component.
Code: Select all
<ScrollPanel style={{width: '100%', height: '200px'}} className="custombar">
<DataTable value={this.state.cars}>
<Column field="vin" header="Vin" />
<Column field="year" header="Year" />
<Column field="brand" header="Brand" />
<Column field="color" header="Color" />
</DataTable>
</ScrollPanel>
-
- Posts: 2
- Joined: 03 Jan 2019, 14:17
Hi Team,
I want to style the vertical scroll when header is fixed and horizontal scroll shown when frozen column is enabled. Is there any possible way to do it.
I want to style the vertical scroll when header is fixed and horizontal scroll shown when frozen column is enabled. Is there any possible way to do it.
-
- Posts: 2
- Joined: 01 Aug 2020, 17:01
Hi @ganeshaprabu,
Were you able to do vertical slim scroll when fixed/frozen header is enabled.
Appreciate the help
Were you able to do vertical slim scroll when fixed/frozen header is enabled.
Appreciate the help
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Sorry for the delayed response! I'll add a feature like scrollHeight="flex" for it. Please see 'Flexible Viewport' section;
https://primefaces.org/primeng/showcase/#/table/scroll
I think this will solve your problem.
Best Regards,
Sorry for the delayed response! I'll add a feature like scrollHeight="flex" for it. Please see 'Flexible Viewport' section;
https://primefaces.org/primeng/showcase/#/table/scroll
I think this will solve your problem.
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests