Page 1 of 1

Render when switching Tabs

Posted: 30 Oct 2018, 14:01
by JBottomley
When switching between tabs, is there anyway to ensure all tabs remain rendered so no content is lost?

For example, Semantic UI allows 'RenderActiveOnly={false}' to allow all tabs to render without unmounting panes

Re: Render when switching Tabs

Posted: 30 Oct 2018, 20:46
by jake02
I have the same question, if not more wordy. Thank you for reiterating this point. In my case, I'm using the TreeTable components in each tab and when you change tabs, the previous tab is unmounted and the selections are lost.

Re: Render when switching Tabs

Posted: 31 Oct 2018, 14:51
by merve7
Not yet, but we will add to support for render attribute inside tabs for next versions.
You can follow from this link; https://github.com/primefaces/primereact/issues/618

Re: Render when switching Tabs

Posted: 06 Nov 2018, 15:50
by cagatay.civici
Available for the upcoming 2.0.0-RC1

Re: Render when switching Tabs

Posted: 23 Nov 2018, 13:17
by JBottomley
Has this been put in place in the latest beta release? I can see that the option is now there but when I put 'renderActiveOnly={false}', add some content to one tab, click another tab and then go to the previous the content is lost.

Re: Render when switching Tabs

Posted: 26 Nov 2018, 12:34
by merve7
We've tried to replicate but unable to do so, please send me your code?