-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI hangs when trying to load dataGridList UI with array of 50k+ #1248
Comments
+1 I also experimented lack of performance in DataGrid, even with a few hundred of records. |
I usually use virtual components to load a large number of records. What control set are you using? MX, Jewel? |
jewel for me |
Nisaba, If you use Jewel VirtualList you will experience better performance. |
Thank you for your feedback. I don't know VirtualList... Is there a sample somewhere ? |
TDJ: |
I don't use VirtualDataGrid, I like VirtualList better. Why don't you send an email to the mailing lists? There will always be some other user working with VirtualDataGrid who can help you out: If we were unlucky, I'd try to give you a hand myself... |
I didn't work on VirtualDataGrid either. If that doesn't work for you. You may try AGGrid, I will experiment with 70,000 records and will update you. |
Let me know if you need any help with AGGrid |
@mjesteve OK, I've post to users list, thanks @alinakazi AGGrid sounds good, Do you have a link to a sample in Royale ? |
Wrapper implementation: Example: |
When we try to set dataprovider with data containing more than 50k, it processes for a long time and crashes randomly. Below are the observations from different datasets tried.
Around 40k - UI is able to load in few mins
Around 50k - There is delay in two places - string into list conversion and set data in dataprovider. Setting data in dataprovider takes more than 5min and eventually crashes in some cases
Around 70k - Royale unable to handle the load and crashes
Once we get the device list array, we assign the data to dataprovider to populate in grid UI. This call is taking more time to complete or crashes depending on count. The same is working fine in apache flash
DataGridListBase.as
set dataProvider() {
.....
super.dataProvider = value; //ListBase.as ==> (model as ISelectionModel).dataProvider = value;
.....
}
Also observed random hang in dataprovider function call in setting below iterator
collectionIterator = collection.createCursor(); //IViewCursor(collection);
Kindly review the UI performance issue with huge set of data.
The text was updated successfully, but these errors were encountered: