Checkbox to delete a whole column in a vertical table
Service Studio Version
11.10.13 (Build 39571)

Hello everyone, 

I have managed to create a vertical table using CSS. 

My next step would also be to delete table entries by checking if the checkbox is set to true or false. That's why I thought I would use checkboxes to delete later, but it deletes the entire row (from left to right) even though I want to delete an entire column separately. How can I do that exactly?

Thank you in advance. :)

Before selecting the checkbox: 

After selecting the checkbox:

Problem: I selected the year 2023 but all the others got selected as well. 

Hi Nader, 

Pass the check box enabled column Id and use Advanced SQL to delete current row (column  in your case).

Thanks, Aadhavan S

Where should I pass it exactly?

Hi Nader,

Find below delete action for your reference. Pass checked Ids as a list to server action, then pass the id list to for each loop and then write SQL query to delete the row.

Good luck!!

Thanks, Aadhavan S

Hi @Nader Meschi , what is the variable that you are assigning the checkbox?

I created one called DelYear.

That's the problem. You should have a boolean in the table source list.

Then you assign the current.boolean.value to the checkbox.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.