#6093 (React ignores preferred widths in column_names)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 1 Jahr, 5 Monate ago von Sharif Mehedi about #6093 (React ignores preferred widths in column_names) : react now respects the column.width and column.preferred_with values.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : The grid should ask each column for its preferred width and then specify column widths as percentages.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : We specify vat_class:3 in items_column_names, which is an "explicit" preferred width. ExtJS respects these widths but React ignores them.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : The issue is visible in cosi1
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : More than 2 hours of playing with this and no result yet (other than a few cosmetic changes in lino, xl and book).
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : Maybe this field has "design bug": in a Belgian sales invoice it should have only 3 choices: "21", "12" and "0".
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : After looking at the code in LinoComponentUtils.jsx I think that this might be a lot of work and the result might not be satisfying. So maybe I should forget about this idea.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : The vat_class column is basically a simple ChoiceListField, but it has a particular issue. The .text properties are quite long (e.g. "Goods at normal VAT rate (21%)" and in certain situations we need these long texts, but in the ItemsByInvoice grid we would prefer them to use up only a few character...
- 1 Jahr, 5 Monate ago von Luc Saffre about #6093 (React ignores preferred widths in column_names) : Created new Ticket #6093 (The InvoiceItem.vat_class column takes too much space).