Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is customizing cell rendering working? #1835

Closed
Prajapati-developer opened this issue Mar 30, 2023 · 4 comments
Closed

Is customizing cell rendering working? #1835

Prajapati-developer opened this issue Mar 30, 2023 · 4 comments
Labels
docs Improvements or additions to the documentation scope: toolpad-studio Abbreviated to "studio" support: question Community support but can be turned into an improvement

Comments

@Prajapati-developer
Copy link

Prajapati-developer commented Mar 30, 2023

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
Copy link
Member

Janpot commented Mar 30, 2023

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 #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
Copy link
Author

Prajapati-developer commented Mar 31, 2023

fix in #1840 is it published as not working?
delete binding means there is a delete option for datagrid how it is working ?
@Janpot

@Prajapati-developer
Copy link
Author

Prajapati-developer commented Mar 31, 2023

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
Copy link
Member

Janpot commented Apr 3, 2023

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 #1850. We're tracking further exploration of the topic in #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

  • bind a text compenent to the query.error.message state, then click the button
  • in the button event handler console.log(await query.fetch()) should give you some feedback as well in the browser console.

Granted, we need to improve debuggability of the network layer. Adding an umbrella issue to keep track of that #1851

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation support: question Community support but can be turned into an improvement labels May 18, 2023
@mui mui locked and limited conversation to collaborators Jun 8, 2023
@prakhargupta1 prakhargupta1 converted this issue into discussion #2148 Jun 8, 2023
@oliviertassinari oliviertassinari added the scope: toolpad-studio Abbreviated to "studio" label Nov 4, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
docs Improvements or additions to the documentation scope: toolpad-studio Abbreviated to "studio" support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

3 participants