I have a need to hide and display columns in a ChronoConnectivity table. I do not want to lose all the current CCV5 functionality. The current implementation displays Club Event Attendees. Originally, events were all of one type displaying a set of common data, but I have added a new event type that uses a subset of that data in the DB table. I also use a filter field and a dropdown to select the event to be displayed. Based on the type of the event, I would like to hide the columns that are not relevant to the selected event's attendee listing based on the event's type. I currently display table heading information based on the event type, so I have access to the event type value and am already conditionally utilizing it.
I have looked at trying to alter data in "Pre display processing" and in "Table Header code"; looked at $this->view->vars and connection data, but I don't see a way to directly alter what columns get displayed. I have also examined the the html page source and I see that the table elements do not have IDs, so I don't think using Javascript will work.
Any suggestions?
I have looked at trying to alter data in "Pre display processing" and in "Table Header code"; looked at $this->view->vars and connection data, but I don't see a way to directly alter what columns get displayed. I have also examined the the html page source and I see that the table elements do not have IDs, so I don't think using Javascript will work.
Any suggestions?
This topic is locked and no more replies can be posted.