Hi, it's seems that I have big problems with data grid and tree grid. Most of all are about performance.
First, the example code that you have me doesn't work correclty. When you edit the task name and then you click in the column to sort the records dissapear, with no error. This is something similar happening to me as I mentioned.
I will try to strat fresh so you can understand all the test that I have done and then I have more question about the problems I'm facing now.
The awnser that you gave me was that group with empty values cannot be hidden like we want so I moved to the Tree Grid.
With this started to have performance issues with edit mode on more that 100 rows. So, I use virtualization. And when the rows refreshed (changed all the rows) the grid show empty records (like the example you gave me). So you told me than virtualization doens't work with edit mode.
3. Tree Grid,so I replace all the templates (editTemplates, and queryInfoCell tempaltes) to simple template in the cell, disabling virtualization. Now I have perfomarnce issues when are many rows that have to be drawn, and our "edition" do it in a method of the components created in the cell template, are replacing all the rows and this take to much when I have many rows.
4. Tried to enable virtualization again, but when scrolling some up and downs appears, so I disable it.
5. Now I'm trying not to update the rows with the field changed, so I don't have to re create the grid all the grid with the "new rows" but I cannot get it working. I tried used the updateCell and updateRow methods of the grid and update the dataSource and refresh but the data is not updated. Only is update when I replace all the datasource with the a new array. Like a two way binding of the data fields.
Now I'll try to explain the requeriments that we need:
1. A grid that we can update some values that are re calculated in the server for any user action (so refresh fast of the changes).
2. Template cell colors for editable and not editable rows depending on some values of other columns (conditional depending on user selections) (example: we have a column data source if that column is not set to Manual the property column is not editable)
3. Template to translate the values of the property name values, with filter like excel on that column.
4. User sorting.
5. Grouping or Herarchical Mode of the rows. This groups shold be templated too depending on the deep in the tree.
6. Many rows created in a perfomant way (we cannot use pagination, or is not convienent for the user experience, because is like a big data editable grid to compare and edit simultaneous values at one time), virtualization works on Wijmo Grid
I attach the code with a data test with the 5 step mentioned before in bold. I'm not user anymore which is the best way to attack all my requeriments now, feels like when I solve one I have problems with other and I have to go back what I donde.
I hope I make my self clear but everytime I go one step forward I have to backward two or three. I still want to give it a try to the grid in syncfusion but I'm thinking that our requeriments are to complex for this and we already have a wijmo grid that works with this so we don't want to lose any functionalitty.
Thanks so much! I hope there is a clean solution for this requeriments.
Attachment:
baselinegridsync_261c09bd.zip