Skip to content
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

Questions about the table #542

Open
existXFx opened this issue Dec 1, 2021 · 0 comments
Open

Questions about the table #542

existXFx opened this issue Dec 1, 2021 · 0 comments

Comments

@existXFx
Copy link

existXFx commented Dec 1, 2021

Hi there,

I want to use the Table component as the front end of the remote file manager. When listing another directory, my current implementation is to delete each file entry row in the data source and call uiTableModelRowDeleted to clean up the entry at the same time. When the new file list data is obtained, call uiTableModelRowInserted to insert the new data.

I have two questions:

  1. Is there any way to refresh the entire table at once instead of calling uiTableModelRowDeleted (or uiTableModelRowInserted) for each entry in a loop?
  2. If there are a large number of entries in the current table, and call uiTableModelRowDeleted for each entry in uiQueueMain, when will I know that this process will end? In my implementation, if the data source gets new data and calls uiTableModelRowInserted at this time, the exception "Index out of bounds" may be thrown.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant