I find it hard to notice that datatable/treetable colums are resizable:
The user needs to move the mouse very carefully over the column divider, in order to get the resize cursor. Would it be possible to make the column divider look different, maybe wider or more like {view: 'resizer'} when resizeColumn is true?
That is caused by difference in structure and styling of header and cells. You need to set the width of header’s border on 1 px smaller than border in data part of datatable
I’m still seeing this issue, 3+ years later Even if I make the line between columns huge (6 pixels wide in this snippet), the problem is that the area over which the mouse cursor takes the resize shape is still very narrow and very hard to place the mouse cursor over it, especially for users with dexterity issues, or using a touchpad. I’m using a laser gaming mouse, and still have trouble placing the cursor in the right spot.
Since this hurts accessibility, any chance for a fix?
@intregal: nice hack. The padding-left misaligns the header with the column though, by moving it to the right.
The correct and visually accessible solution for this would be to make resizable columns look more like the resizer view. That way users will be able to quickly tell that the column is resizable. Right now, resizable or fixed columns look exactly the same.
Specifying a size object is a much cleaner solution than messing with the CSS, thank you!
Still, I would like to reiterate the suggestion to (optionally) make resizable columns visually different from fixed ones, because now they look the same, and the user needs to mouse over in order to discover that the columns are resizable.