appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.64k stars 3.74k forks source link

[Feature]: Set table columns isEditable property programmatically. #21843

Open dixerus opened 1 year ago

dixerus commented 1 year ago

Is there an existing issue for this?

Summary

Allow setting column tables isEditable property in code.

Why should this be worked on?

There are use cases where table columns are dynamic. An ability to set column properties (in this case, isEditable) on the fly in code helps make these use cases possible.

mschuelein commented 1 year ago

Just ran into this problem today, good to see that there's already an issue open.

My use case is: I want to show data of multiple database schemas and instances in one table. Users have to be able to send queries, to get data from different tables. So the columns will always be different, depending on the table that's shown.

dilippitchika commented 1 year ago

Thanks for adding this information @mschuelein, can i ask why you are showing data from multiple instances in one table? Do the queries vary a lot?

mschuelein commented 1 year ago

Thanks for adding this information @mschuelein, can i ask why you are showing data from multiple instances in one table? Do the queries vary a lot?

Hey @dilippitchika, thanks for asking. We want to show data from multiple instances, because we want an easy to use solution for our non technical team members. So they dont have to run queries on 3 different connections 3 times, just one at a central place. The data structure of the instances will always be the same. And the queries can be any form of CRUD statement, against any table or view in our data structure. We also dont want to implement the structure manually in Appsmith, because then we would have to do changes here for every change we do to our data structure.

mschuelein commented 1 year ago

Is there any update on this? Would be really appreciated, because it limits our possibilities to use Appsmith properly.

dixerus commented 1 year ago

Update?

keyurparalkar commented 1 year ago

Thanks for showing interest in this feature. We will check this with the team internally and get back on this here.