mui-toolpad icon indicating copy to clipboard operation
mui-toolpad copied to clipboard

Support entities

Open Janpot opened this issue 3 years ago • 3 comments

Recently we implemented support for server-side pagination through the concept of data providers. We should extend the capabilities to also include:

  1. Filtering #2886
  2. Sorting #2539
  3. Row editing #2887
  4. Row creation #2888
  5. Row deletion #2889

Relates to: https://github.com/mui/mui-x/issues/8179

Janpot avatar May 09 '22 17:05 Janpot

As you said entity is an abstraction for collection. So it seems that the complicated output of one or more queries can be simplified into an entity and can be further used in data binding. It seems like a good to have, but putting it as part of data sources may not be the right spot.

prakhargupta1 avatar Oct 18 '22 11:10 prakhargupta1

@Janpot these problems is very suitable for me. https://github.com/mui/mui-toolpad/issues/2539 such as this one. Could you offer more details?

JerryWu1234 avatar Nov 16 '23 02:11 JerryWu1234

@JerryWu1234 I've updated the issue and turned it into an umbrella for improvements on Toolpad data providers. Did you get a chance already to try them out? The documentation page should get you right on track. We would like to closely align this feature with MUI X in the near future and add filtering/sorting/... capabilities.

Janpot avatar Nov 18 '23 06:11 Janpot

Did you get a chance already to try them out?

I didn't, but I developed the pagination function and filtering before.

JerryWu1234 avatar Nov 20 '23 01:11 JerryWu1234