Instead of hiding and showing certain columns using conditionals, you I would recommend to use workflows to append new columns when needed. Would this work for your integration? The demo page has a showcase of the append column feature for you to look at (;
I will also look into if I can reproduce your issue, but do let me know if the proposed solution will work for you
Hi @Thimo Thanks for the quick reply. I had tried that originally first, but I noticed that removing an appended column only seems to work (and I may be wrong here but this is what I experienced), if I first add the column through workflows. That being said, I would have to set up a conditional action for each column and Iām already reaching a point where the workflows are affecting page performance. So in essence, it isnāt ideal to add more workflows than necessary. Other than that, as everyone knows, your plugins are awesome.
@Thimo I did manage to make it work without conditionals. Turns out, it is possible to do what I need without them and everything still display correctly. It also doesnāt cause issues with hiding/displaying certain columns. Iāll keep you updated if I come across any more issues.
Iām using the checkbox feature to allow someone to select rows and then click a button to upload to an API. However, when I run my workflow to upload the data, the table shows āLoadingā¦ā and doesnāt stop showing āloadingā¦ā, even if the workflow ran without any issues. The only thing from the plugin Iām using within the workflow is using the list of checklist IDs to filter on the repeating group and the data is already loaded within the table before they start the workflow.
The only workaround I can find is reloading the page.
Is there a bug somewhere or something I can trigger to stop it from loading?
This happens when I hide a group element with the table inside of it, then show it again after changing the data source through a custom state on the page. But itās only when I go back to hiding the group, changing the data source, and showing it again that the issue occurs.
It looks like itās shrinking the cells to their minimum constraints.
@Thimo Just to add one more thing to this. The more columns I add, the more the columns start to pull back and create a small notch of space at the end of the table like the screenshot above, but only what appears to be one px or so at a time. It will stay like this, regardless of any kind of setup. Thanks for looking into these!
Hi. Is there any control over data driven cell colours? Iām looking to create a heat map and want to colour the cells based on their numerical content.
This plugin has been a game-changer for my app it makes adding good looking charts so easy!
I had a couple of questions if you get a momentā¦
Is it possible to set a max width on columns? Sometimes differences in data cause my columns to have random widths and it would be good get more consistency with maximum widths.
Are there any plans for being able to do āget API dataā for a specific column? This would be super useful to me as it would allow me to populate data for a single column from an external API
Is it possible to place a button inside a cell? To trigger a workflow?
I tried without success
Andā¦ can I display my userās picture in the same cell of his name? Also tried . Cuz I donāt want a cell with his picture and another with his nameā¦
Hi @Thimo !
Is it possible to allow the app user to edit the column width? Kind of like in Excel where you can drag the edge of the column to change its width.
This is not yet possible and I am not sure if I will be able to implement it, but I will explore the possibilities for you!
Buttons are not yet supported at this time. You can use like for example using the html field and there is an example of that in the demo page. To display the name next to the image you will need a feature like @jamesdevonport talked about to have access to the current cell of the table (see above). This is not yet possible but I am looking into if there are ways to implement a feature like this
The library actually supports this, but I encountered some breaking errors when implementing this feature. Once these errors are fixed I will definitely add it to the plugin!
How can I make it so that instead of showing all columns, I only show one and then have a drop down to display other columns which can be picked by the user?
The pagination background colour is not set to the same as the actual background colour, this may be because the actual background colour is not set to opaque?
Hi @fplassistant, I have answered your questions below!
When you append new columns via workflows, you can hide/remove them also with a workflow action. You could trigger both workflows when a dropdown changes value to hide/show columns like that. The demo page has an example of add and removing a column for you to look at.
The pagination background color is automatically inherited from the table background. That is why those are both the same color. Is this something you want a separate color option for?
Are you referring to the small gap on the right? I have tried to reproduce that issue but I unfortunately was unsuccessful. I will try the coming days to see where that is coming from because it looks like a small bug
@fplassistant The table should be the same color as the background color you have setup. For example, when I set thew background to this (very ugly) red color, you can see that the pagination background color also changes:
Hi yes I understand and it ātechnicallyā is the same colour, but I have changed the transparency of the background and this has not been replicated in the pagination, hence the different colour.