kuzzle-admin-console icon indicating copy to clipboard operation
kuzzle-admin-console copied to clipboard

Can't resize the columns in column view, some data are hidden

Open berthieresteban opened this issue 4 years ago • 5 comments

Can't resize the columns in column view, some data are hidden

berthieresteban avatar Aug 07 '20 12:08 berthieresteban

Not sure that data are hidden The columns width is set to minimal size to allow user see all data contained in cell The table width is increase by adding columns and allow to scroll horizontally

berthieresteban avatar Oct 29 '20 11:10 berthieresteban

Yes, I've noticed it. Maybe, we could still keep this feature-request as a "nice-to-have".

xbill82 avatar Oct 29 '20 13:10 xbill82

I found it in src/components/Data/Documents/Views/Column.vue line 222, value: JSON.stringify(ret).substring(0, 10), We display only 10 first char of the string containing the data to display et set ... next to if we cutted We did it to prevent for very long strig for example some text fields

berthieresteban avatar Oct 30 '20 09:10 berthieresteban

oh... Not good. We should really use the CSS ellipsis rule to adapt the text clipping to the column size.

xbill82 avatar Nov 02 '20 10:11 xbill82

do not make the column resizable, just set a column maximum width (should be calculated with the window total width) and use word-wrap to restrict content size .

Njuelle avatar Jul 20 '21 12:07 Njuelle