FFREDIANELLI Posted October 8, 2018 Share Posted October 8, 2018 Is it possible to autoscroll a fieldset ? Link to comment Share on other sites More sharing options...
Sherzod Posted October 8, 2018 Share Posted October 8, 2018 Hi, Sorry, can you please explain in more details ?! Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted October 9, 2018 Author Share Posted October 9, 2018 i tryed to put fieldset inside a scrollbox , to be able to put more fields in the mobile, but it not show the scroll bars. Serching on google in sencha sas that fieldsets have a property autoscroll but i do not find in unigui. Link to comment Share on other sites More sharing options...
Sherzod Posted October 9, 2018 Share Posted October 9, 2018 Can you make a simple testcase for this ? Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted October 9, 2018 Author Share Posted October 9, 2018 It's easy to understand, like a dbmemo, the scrollbars appear if needed, seems that fieldsets have this too, but i do not know how to enable. Please help me to translate how to change this to work in unigui... Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted October 9, 2018 Author Share Posted October 9, 2018 This link explain my problem https://www.sencha.com/forum/showthread.php?273541-Fieldset-is-cutted-of-No-scrolling-possible but I do not undestend the solution... Link to comment Share on other sites More sharing options...
Sherzod Posted October 9, 2018 Share Posted October 9, 2018 Maybe you wanted like this ?: function beforeInit(sender, config) { config.scrollable='vertical'; } Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted October 9, 2018 Author Share Posted October 9, 2018 Yesssss..... it works !! I think that an example like that should be in the demo, in mobile is it fundamental to get around the lack of space ,Think about ... Farshad and Sherzod. Thanks for the always present support !!! Link to comment Share on other sites More sharing options...
fraxzi Posted December 20, 2022 Share Posted December 20, 2022 On 10/10/2018 at 1:21 AM, Sherzod said: Maybe you wanted like this ?: function beforeInit(sender, config) { config.scrollable='vertical'; } Hi @Sherzod, I have two fieldset.. How can I sync scroll on the other fieldset when I scroll with another? Is it possible? Thanks, Frances Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2022 Share Posted December 20, 2022 Hello @fraxzi Need to check. Do you have a simple testcase? Link to comment Share on other sites More sharing options...
fraxzi Posted December 20, 2022 Share Posted December 20, 2022 6 minutes ago, Sherzod said: Hello @fraxzi Need to check. Do you have a simple testcase? Hi Sherzod, Sorry at the moment I don't have a test case ... All I know is from above I got it scrolled.\ Thanks, Frances Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2022 Share Posted December 20, 2022 Hi, Ok. No problem. I will try to analyze. Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2022 Share Posted December 20, 2022 Hello @fraxzi Try this approach: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniFieldSet1.JSInterface.JSAddElEvent('scroll', 'scrollable', [''], UniFieldSet2.JSName +'.scrollable.scrollTo(this.component.scrollable.getPosition().x, this.component.scrollable.getPosition().y)'); UniFieldSet2.JSInterface.JSAddElEvent('scroll', 'scrollable', [''], UniFieldSet1.JSName +'.scrollable.scrollTo(this.component.scrollable.getPosition().x, this.component.scrollable.getPosition().y)'); end; 1 Link to comment Share on other sites More sharing options...
fraxzi Posted December 20, 2022 Share Posted December 20, 2022 2 hours ago, Sherzod said: Hello @fraxzi Try this approach: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniFieldSet1.JSInterface.JSAddElEvent('scroll', 'scrollable', [''], UniFieldSet2.JSName +'.scrollable.scrollTo(this.component.scrollable.getPosition().x, this.component.scrollable.getPosition().y)'); UniFieldSet2.JSInterface.JSAddElEvent('scroll', 'scrollable', [''], UniFieldSet1.JSName +'.scrollable.scrollTo(this.component.scrollable.getPosition().x, this.component.scrollable.getPosition().y)'); end; Hey @Sherzod, another SuperMan Job!! I have no Idea where you get this ability but... Man, I'm a Fan Thanks much, Frances 1 Link to comment Share on other sites More sharing options...
Recommended Posts