jahlxx Posted September 30, 2016 Share Posted September 30, 2016 Hi. Is there any way to put the collapse / uncollapse button of a unipanel in the left side? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Hi, For now can you try this?!: UniPanel -> ClientEvents -> UniEvents -> beforeInit fn: function beforeInit(sender, config) { config.header = { titlePosition: 1 } } Best regards. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 Ok. It works. Thanks. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 Only one more thing. When the panel is collapsed, the icon of the button is like up arrow, and when it is uncollapsed, the icon is like a down arrow. Is not more logical that the icons where oposite? I mean, when is collapsed down arrow, and when is uncollaposesd, up arrow. is possible? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 I think that the buttons show the state of the panel collapse and from this point of view it is correct... Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 OK. I have another problem with this, due to version 1327. when the panel start collapsed, I'm not able to uncollapse it. In the previous version I had, the 1304, this problem was solved, but it appears again. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 This is a problem for me now. every panel collapsible in my app that starts collapsed, the user is not able to uncollapse it. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Ok, I will analyze it now... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Hmm, I'm sorry, can you check again ?! I could not reproduce ... works correctly for me Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 ok. the initial properties of the panel are collapsed = true and visible = false if I put visible=true, then works ok. this behaviour is different thae in version 1304. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 and I see other extrange behaviour. In have a collapsible panel, with a chat inside. if the panel starts collapsed, the chart seems to be empty the first time. It seems thar the chart is noty "alive" until I don't uncollapse de panel once time. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 This is not so, chart is not empty, why do you think so ?! Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 Because I don't see any pie the first time. The second time, yes. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Because I don't see any pie the first time. The second time, yes. After first expanding ?! Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 yes. Here is a sample video of the execution: sample.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Ok, I will try analyze this issue... Best regards. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 if the panel starts uncollapsed, works ok, bu I need to start collapsed. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 30, 2016 Share Posted September 30, 2016 Can you make a small test case for this?! Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 30, 2016 Author Share Posted September 30, 2016 I'try. Is difficult. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 1, 2016 Author Share Posted October 1, 2016 I load the chart info in the onexpand event of the panel and it wrks now. This were not necessary in my previous version. The behaviour was different. For me, is not a problem, I'll do in that way. Thanks. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators Share Posted October 1, 2016 I load the chart info in the onexpand event of the panel and it wrks now. This were not necessary in my previous version. The behaviour was different. For me, is not a problem, I'll do in that way. Thanks. In previous version you couldn't start panels in Collapsed mode. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators Share Posted October 1, 2016 I can not reproduce this issue. In my test collapsed panel can show a chart inside that panel. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators Share Posted October 1, 2016 Tip: Make sure you don't add JS code to handle collapsed state. It is already handled in new version of uniGUI. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted October 2, 2016 Author Share Posted October 2, 2016 The probelm is when the panel starts visible = false and collapsed. when I turn on the pabnel visible, I can't expand it. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 2, 2016 Administrators Share Posted October 2, 2016 The probelm is when the panel starts visible = false and collapsed. when I turn on the pabnel visible, I can't expand it. It can be a problem. A chart inside an invisible panel may not render correctly. It is an Ext JS limitation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.