Forums

CF8 - Table view - How to use Class and Where

HKG 20 Oct, 2023
I am happy to see that Table view has been added to CF8!

I have experience with CF5/CC5, but I find it difficult to understand new terms and syntax.

- What does the Class field do, and how to use it?
- How to use the Where statement?
Some examples that illustrate the syntax would be helpful.

I tried to find answers in the Forum, but that did not help.
HAns
ChronoForms user...
Max_admin 21 Oct, 2023
Answer
Where statement:
id = '123' OR id = {data.quote:some_parameter}


Class: set a class for this column, you can leave it empty if you do not need to style the column
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 21 Oct, 2023
Tablename: Name from Table
Data Path: 1 Table Field
Where: Status = 1

-> in_array(): Argument #2 ($haystack) must be of type array, null given
Max_admin 21 Oct, 2023
Please post a screenshot of your configuration
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 21 Oct, 2023
per E-Mail?
HKG 21 Oct, 2023
I would like to change the background color of a column, how can I do this?
Please give an example.
HAns
ChronoForms user...
Max_admin 21 Oct, 2023
@rbock, I do not understand the error so please post a screenshot of how you setup the table

@HKG, set class "xyz" for the column then use a CSS view to define the background-color:

.xyz{background-color:red;}


but for this to work you need to wait for the next update
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
HKG 22 Oct, 2023
@rbock,
I have seen the same error message when building a table view.
In my case I had to add at least one Sortable to get rid of this error.
HAns
ChronoForms user...
rbock 22 Oct, 2023
For now I will continue to use loop with div container...
Max_admin 23 Oct, 2023
the new update is now available

please report any errors so we can work on fixing them
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.