How to make Search pane scroll body close after a selection and have a dynamic size and other bg?
How to make Search pane scroll body close after a selection and have a dynamic size and other bg?
Hi,
If there are only three items on search pane filter then i want the scrollbody only to have that size. and when it grows to like 10 items a max width so it gets not overly big. I dont like the layout when there is a fixed size for the scroll body.
I wanted the scrollbody also to overlay the table when clicked. So I did set the scrollbody to absolute, and that actually worked.
Then I would achieve somehow that when the user clicks a selection in the scrollbody the window of the scrollbody would close.
And lastly I try to change the background of the scrollbody but somehow I cannot overwrite it even with !important. Is maybe the reason that the datatables.css file the background gets set to white and also with !important?
Any hints in the right direction?
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin