Hello!
Please, check this out:
http://webix.com/snippet/fa84ff22
Happens when you need to hide some columns when structure was already loaded.
Should any other event be called after hiding the column on onStructureLoad event?
Hello!
Please, check this out:
http://webix.com/snippet/fa84ff22
Happens when you need to hide some columns when structure was already loaded.
Should any other event be called after hiding the column on onStructureLoad event?
You can use the ready event handler:
Thanks, that worked out.
But why hiding onStructureLoad prevents scrolling?
Am I missing return value or event call?
The things are a bit complicated here. In the moment of onStructureLoad event, the component is in the middle of rendering itself. Changing the column visibility causes the restart of structure rendering. As result, scrolls are rendered incorrectly.
To avoid the issue, you can just wrap the hideColumn in webix.delay ( so it will be called after the component is fully rendered )
Thanks, now I understand, ‘ready’ looks more neat for me.
I really miss event time map