likemike Posted June 16, 2022 Share Posted June 16, 2022 Hello! I create some memos and panels during runtime in a Unimscrollbox (parent) - Server-side-alignment. Unfortunately the order shown is not the same as the creation order. I've tried this workaround But it has no effect. I've attached a testcase! Regards Mike Unigui.rar Link to comment Share on other sites More sharing options...
likemike Posted June 16, 2022 Author Share Posted June 16, 2022 @Sherzod: Here you helped pro_imaj with a similar problem: I tried this with UnimScrollBox instead of UniFieldSet, but this doesn't work: JSInterface.JSCallDefer('items.items.sort', [JSInterface.JSStatement('function(a, b) {a = a.uname;b = b.uname;if (a === b) {return 0;}return a < b ? -1 : 1;}')], 5, UnimScrollBox1.JSControl); JSInterface.JSCallDefer('updateLayout', [], 10, UnimScrollBox1.JSControl); What do I wrong? Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2022 Share Posted June 17, 2022 Hello @likemike I will try to check. Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2022 Share Posted June 17, 2022 But what if you just try with client-side alignment? UnimScrollBox1.AlignmentControl = uniAlignmentClient Link to comment Share on other sites More sharing options...
likemike Posted June 17, 2022 Author Share Posted June 17, 2022 If nothing else works, I do that, but I think this is a bug - so would you please open a ticket?! Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2022 Share Posted June 17, 2022 Ok. I will open the ticket. Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2022 Share Posted June 17, 2022 1 hour ago, likemike said: so would you please open a ticket?! I have opened. Link to comment Share on other sites More sharing options...
Recommended Posts