Hi Ezequiel,
We suspect that you set the Text.overflow property
as TextOverflow.ellipsis for the row cell in the buildRow method.
You can achieve your requirement by removing Text.overflow from the Text
widget. Also, you can set how many lines of text should be wrapped using the Text.maxLines.
We have prepared a sample for that. Please check the following sample and code
snippet.
class EmployeeDataGridSource extends DataGridSource {
…
@override
DataGridRowAdapter buildRow(DataGridRow row) {
return
DataGridRowAdapter(
cells:
row.getCells().map<Widget>((DataGridCell dataCell) {
return
Container(
padding:
const EdgeInsets.symmetric(horizontal: 8.0),
alignment: Alignment.centerLeft,
child: Text(
dataCell.value.toString(),
),
);
}).toList());
}
}
|
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample1442141151
We hope this helps. Please let us know if you need any
further assistance on this.
Regards,
Tamilarasan