by reading Webix’s source, i found that it need patching more fundamental events’ callback to support more flexible applying. such as interactive with a third Chart library, we need to find the correct occasion that after all Webix components been initialized so that the chart can be drew to the right size and position, and so on.
so, is there any approach or links to fork and share our works on Webix? thanks!
There are two possible ways
Simple, but dirty
a) You can use webix_debug.js in this repo - GitHub - webix-hub/webix: Stable releases of Webix UI - JavaScript library for building mobile and desktop web apps, and send pull requests with patches for this file. I can’t merge them, as it is not a development repo, but I can’t take them from here and integrate in the development codebase.
Nice, but compicated
b) In some point in future we plan to open our dev. repo as well. Currently it requires a custom environment to work correctly. If you interested - drop me an email ( mkozhuh@gmail.com ) and I will provide the details.
P.S. As far as I can see there is no need for extra patching if yo need only have a valid sizing. Check for example components/raphael.js at master · webix-hub/components · GitHub
The custom component created here use its own $setSize method, that will be called each time when size of view changed and repaint is required.
Yea, no doubt that the raphael.js is a great ways to custom chart component. and it seems that could be made more look like an original Webix UI as
- Inline data and handling internal
- Events trigger orderly and be promised
Formatting data to adapt to the third interface, assigning columns by themselves, ...
As $init be invoked while component's initialization and $setSize notifying to sizing, why we can't promise to notify user these initialized(DOM created), ready(DOM's style, size, position definite and data parsed), state(be hidden or showed) events of components(itself and children)?
If there be, we can easy to figure out more features in our design. BTW, the webix.delay is an useful, funny thing beyond my mind ^^, it make my first custom CMP work well so far.
It is so many words here. i just like this Webix, comparing Extjs, dhtmlx i rather like Webix's yongth and beauty. Um, tedious my idea, maybe affect by Extjs, windows more or less.
I'm come from China, google is our prohibition, any ways to chat without gmail? we using weixin.
Thank you! it's not hard to see that you are a good man. and my problem have closed, thanks Webix!
我大天朝威武。webix的确是不可多得的好玩意,我也是用了多年的ExtJs,最近才开始试用webix。