data_table_2 icon indicating copy to clipboard operation
data_table_2 copied to clipboard

dynamic height to data row height property?

Open harryandroiddev opened this issue 2 years ago • 2 comments

some data row needs to be bigger in size than other due to its content that does not fits in it so how it can take fixed height for all the data row this needs to be fixed , and should be sized according to its content and should not be fixed for all the data rows .

harryandroiddev avatar Jun 10 '22 04:06 harryandroiddev

DataRows2 can only have individual widths define. Auto width based on cell contents (determining column width based on the largest cell) data row width will require a separate pass measuring cell's contents. That kind if capability was discarded at the very beginning of that package due to implementation detail (synchronizing dimensions for fixed parts of there table) and performance considerations (the original DataTable from Flutter is very slow when auto width is used).

No plans to overhaul the widget and add capability to auto set widths of columns or heights of rows.

maxim-saplin avatar Jun 10 '22 05:06 maxim-saplin

Any possible way to implement dynamic height for rows, bro ? and also will be useful to have minWidth for specific columns.

eldarkk avatar Jan 18 '23 11:01 eldarkk