Add columns and rows dynamically during runtime - flutter

There is no way to add columns and rows dynamically. When i tap on dataColumn need to add there subData to the DataColumn dynamically but can't find solution using syncfusion flutter datagrid. more information in attachment.if anyone has Solution please inform me.
here is the demo of what i need to implement :-
attachment
flutter_expandable_table ,syncfusion_flutter_datagrid this packages i have tried.
thank you all in advance.

Related

MUI DataGrid ColumnDef: the row is not available on the valueOptions prop of the column definition

I am using a DataGridPro component with different columns.
One one the columns is defined like this:
This issue is that I am trying to understand why the row is not available in the valueOptions prop of the column definition.
I would like to be able to populate the choices based on a list that is available on the row in another field.
But I get this error when I try to read the row:
Can you please help? The grid is populated with lots of rows coming from an api fetch.
Every other column is working fine accept this one.
Thank you.
I discovered that it was my bad. My column object was used twice with different parameters and so, yes, the row was not available for the second case.

Is there a way to translate column names in datagrid filters?

🖖, I have been looking for a way of adding localization to the column field names in filters in Datagrid and I couldn't find the way, can you give me a hand with this, cheers.
Filters modal

Create , add rows and delete rows from Table in Flutter

I was trying to make a dynamic table in Flutter/Dart where I can add new rows , delete some of them and edit their content .
I tried different packages but I couldn't figure out a way to make it .
Can someone help me ?

Sencha GXT3 - Grid Column Header: Doubleclick Handler between two column headers

I have the following problem:
customer wants Excel like behaviour on a table. When double-clicking on the space between two column-headers, the column should be sized like the biggest text inside that column.
Question: Is there a build in GXT function to add a Handler to the space between two column headers? I havent found sth. like that, browsing the documentation of grid...
Additional Information: GXT: 3.0.1 GWT: 2.5.1
Thank you very much!
No, it doesn't seem GXT exposes any handlers for actions on the column separators. A possible solution would be to have a option in the column drop down. There is an aricle about that here: http://greatlogic.com/2014/06/02/autofit-column-width-in-a-gxt-grid/

How to create costum column widget in a CellTable

I want to create a celltable which column can have costumn widgets like rating.
After researches, i find that i have to create a class that extends AbstractCell, But it isn't very clear.
Can somebody help me, or is there any tutorial for that?