File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,23 +43,23 @@ class _MyHomePageState extends State<MyHomePage> {
4343 source: _employeeDataSource,
4444 allowSorting: true ,
4545 columns: < GridColumn > [
46- GridTextColumn (
46+ GridColumn (
4747 columnName: 'id' ,
4848 label: Container (
4949 padding: const EdgeInsets .symmetric (horizontal: 16.0 ),
5050 alignment: Alignment .centerRight,
5151 child: Text (
5252 'ID' ,
5353 ))),
54- GridTextColumn (
54+ GridColumn (
5555 columnName: 'name' ,
5656 label: Container (
5757 padding: const EdgeInsets .symmetric (horizontal: 16.0 ),
5858 alignment: Alignment .centerLeft,
5959 child: Text (
6060 'Name' ,
6161 ))),
62- GridTextColumn (
62+ GridColumn (
6363 columnName: 'city' ,
6464 width: 110 ,
6565 label: Container (
@@ -69,7 +69,7 @@ class _MyHomePageState extends State<MyHomePage> {
6969 'City' ,
7070 overflow: TextOverflow .ellipsis,
7171 ))),
72- GridTextColumn (
72+ GridColumn (
7373 columnName: 'Freight' ,
7474 label: Container (
7575 padding: const EdgeInsets .symmetric (horizontal: 16.0 ),
You can’t perform that action at this time.
0 commit comments