mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Is customizing cell rendering working? #1835

Closed Prajapati-developer closed 1 year ago

Prajapati-developer commented 1 year ago

Is customizing cell rendering working? can you give us a brief description of how we should implement it? and also how delete binding will work? and if we want to apply our own css or scss file for custom component then how it will be done? @Janpot

Janpot commented 1 year ago

Is customizing cell rendering working? can you give us a brief description of how we should implement it?

Just found a regression in the custom columns component selector, adding a fix in https://github.com/mui/mui-toolpad/pull/1840

and also how delete binding will work?

What do you mean exactly by "delete binding"? You can remove a binding from a property by clicking "remove binding"

and if we want to apply our own css or scss file for custom component then how it will be done?

Currently we don't support importing css. I can imagine us supporting css modules in the future. Opening a feature request for that.

Prajapati-developer commented 1 year ago

fix in https://github.com/mui/mui-toolpad/pull/1840 is it published as not working? delete binding means there is a delete option for datagrid how it is working ? @Janpot

Prajapati-developer commented 1 year ago

and when i am using Only fetch on manual action with parameters not working as expected my request is created dynamically but when hitting the button request becomes null so getting the error is there any solution? @Janpot

Janpot commented 1 year ago

delete binding means there is a delete option for datagrid how it is working ?

It looks like that's a leftover from an earlier experiment on providing richer connection to tabular data. Removing it again https://github.com/mui/mui-toolpad/pull/1850. We're tracking further exploration of the topic in https://github.com/mui/mui-toolpad/issues/385

For the time being we recommend binding a manual query parameter to the dataGrid.selection and triggering it on button click.

and when i am using Only fetch on manual action with parameters not working as expected my request is created dynamically but when hitting the button request becomes null so getting the error is there any solution?

Two ways to debug these at the moment is

Granted, we need to improve debuggability of the network layer. Adding an umbrella issue to keep track of that https://github.com/mui/mui-toolpad/issues/1851