datatables
datatables copied to clipboard
Adjusting the width of a specific TD
i tried adjusting the width of this td inline to see if it changes but it doesnt, can you please help me with this. thanks in advance
also this example, i want the header to be vertically align not collapse so i want also to adjust its width
Sorry for the late response.
I used to set style directly in the markup for specific requirements, especialy for column sizing:
<tbody>
<tr>
<td style:min-width="400px">{row.smth}</td>
[...]
Or with table :global(th) CSS selector.
The ideal way would be to create your own Th component, and add a width property.
I will think about adding it in a future version.