material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Bulk Edit onclick event is very slow

Open PATTANPARVIN opened this issue 5 years ago • 4 comments

I am using Bulk update with V1.69.3,

  • I'm handling 200 rows with dynamic columns of different types of fields(Select field(single & multi), User picker(single & multi), Text field, Text Area, Date and Time Picker...)

Describe the bug

  • When clicks on Bulk Update button it is taking around 15 seconds to show the edit window.
  • While clicks on Cancel button then also it's taking time
  • why rendering is taking time when data's are bulk and how to reduce it

onBulkUpdate: (changes) => new Promise((resolve, reject) => { this.setState({ isLoading: true, }); try { setTimeout(() => { const isValidationPassed = this.submitBulkFieldValues(changes); if (!isValidationPassed) { reject(); } else { resolve(); } }, 1000); } catch (err) { reject(err); } }),

Expected behavior

  1. Need to make it fast UI
  2. I should able to show the loader when button is clicked

Screenshots Bulk-Edit1 image

https://user-images.githubusercontent.com/53428566/121363573-b40b3000-c954-11eb-8be9-f1c1b77c3916.mp4

PATTANPARVIN avatar Jun 09 '21 07:06 PATTANPARVIN

Is there any possibility for bulk edit with custom button,

  • at least I need to add loader to cover that delay which shown in the above video, but I am not getting bulk edit event listener. please anyone can help.

Thanks in advance.

PATTANPARVIN avatar Jun 23 '21 06:06 PATTANPARVIN

+1

Rambanam avatar Jun 23 '21 12:06 Rambanam

+1

Michael-Hanley avatar Jun 29 '21 23:06 Michael-Hanley

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Sep 28 '21 00:09 stale[bot]