You are viewing limited content. For full access, please sign in.

Question

Question

Table scroll bar

asked on March 9, 2021

Hi all,

In my webform I have a table and I'm using a look up table to popule the fields.

After the look up table, my table height is 16280px.

I wish to reduce this size to 200px and get a scroll bar instead.

Is it possible?

1 0

Answer

SELECTED ANSWER
replied on March 9, 2021 Show version history

Give your table a CSS Class Name of scrollingTable and add this CSS to your form: 

.scrollingTable .cf-table_parent {height: 200px; overflow: auto;}

 

2 0
replied on March 9, 2021

Note - I didn't test this through submission of a form, so the read-only/archive version of the form may not appear the way you want with this CSS in place.  If it is an issue when archiving the form to the repository, then often the easiest solution is to make a copy of your form without the CSS code, and use that version of the form when archiving the form to the repository.

1 0
replied on March 9, 2021

Hi Matthew,

 

Thanks for your help.

It's working.

Regards

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.