Hi.
How do I wrap data table follow to cell content.
My right action column consist of buttons show a bit wide.
I like the column to fit with both buttons.
Please find the attachment for picture.
Thanks.
/Hairi
how to wrap datatable column
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Can you please attach your screenshot again?
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think you can give a width to column;
And add margin-* to buttons
Code: Select all
<p:column width="100px;">
<p:commandButton icon="fa fa-pencil" />
<p:commandButton icon="fa fa-home" />
</p:column>
Github Profile: https://github.com/mertsincan
Sorry. Long time after responding to your reply.
I fixed it with a size for column table but its give effect to mobile view.
Please look to image https://drive.google.com/open?id=0ByXfn ... TRXOE1RcWs
Red box is w/o fixed the column.
Green box is when i put size to the column.
Thanks
/Hairi
I fixed it with a size for column table but its give effect to mobile view.
Please look to image https://drive.google.com/open?id=0ByXfn ... TRXOE1RcWs
Red box is w/o fixed the column.
Green box is when i put size to the column.
Thanks
/Hairi
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks for the update and screenshot.
Github Profile: https://github.com/mertsincan
Hi.
I look this as unresolved solution. still looking into it. any idea?
I look this as unresolved solution. still looking into it. any idea?
hairi11 wrote: ↑04 Jun 2017, 08:13Sorry. Long time after responding to your reply.
I fixed it with a size for column table but its give effect to mobile view.
Please look to image https://drive.google.com/open?id=0ByXfn ... TRXOE1RcWs
Red box is w/o fixed the column.
Green box is when i put size to the column.
Thanks
/Hairi
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think it is different from the first issue. Could you please attach the code of your responsive datatable?
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests