jahlxx Posted September 30, 2016 Posted September 30, 2016 Hi. Is there any way to put the collapse / uncollapse button of a unipanel in the left side? Thanks. Quote
Sherzod Posted September 30, 2016 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
jahlxx Posted September 30, 2016 Author 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
Sherzod Posted September 30, 2016 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
jahlxx Posted September 30, 2016 Author 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
jahlxx Posted September 30, 2016 Author 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
Sherzod Posted September 30, 2016 Posted September 30, 2016 Hmm, I'm sorry, can you check again ?! I could not reproduce ... works correctly for me Quote
jahlxx Posted September 30, 2016 Author 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
jahlxx Posted September 30, 2016 Author 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
Sherzod Posted September 30, 2016 Posted September 30, 2016 This is not so, chart is not empty, why do you think so ?! Quote
jahlxx Posted September 30, 2016 Author Posted September 30, 2016 Because I don't see any pie the first time. The second time, yes. Quote
Sherzod Posted September 30, 2016 Posted September 30, 2016 Because I don't see any pie the first time. The second time, yes. After first expanding ?! Quote
jahlxx Posted September 30, 2016 Author Posted September 30, 2016 yes. Here is a sample video of the execution: sample.zip Quote
Sherzod Posted September 30, 2016 Posted September 30, 2016 Ok, I will try analyze this issue... Best regards. Quote
jahlxx Posted September 30, 2016 Author Posted September 30, 2016 if the panel starts uncollapsed, works ok, bu I need to start collapsed. Quote
Sherzod Posted September 30, 2016 Posted September 30, 2016 Can you make a small test case for this?! Quote
jahlxx Posted October 1, 2016 Author 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
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators 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
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators Posted October 1, 2016 I can not reproduce this issue. In my test collapsed panel can show a chart inside that panel. Quote
Administrators Farshad Mohajeri Posted October 1, 2016 Administrators 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
jahlxx Posted October 2, 2016 Author 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
Administrators Farshad Mohajeri Posted October 2, 2016 Administrators 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
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.