Creating Web Page Layout Using Webix

Posted on by By Gagan Manda, in Javascript | 0

Webix is a JavaScript and HTML framework used for developing cross-platform applications which contain many widgets and custom options with less effort and time.

Prerequisites: Html, JavaScript, CSS.

Webix works by dividing the page by the rows and columns defined in the code and so this is responsive because it displays all the rows and columns for every screen size.

To use webix, download webix.js and webix.css from the official webix website. These two files should be included into the head section of HTML page. To start building the layout of the web page using webix, all the webix components should be initialized with webix.ui() constructor. There are many attributes in the constructor and some of them are the width, height, and type etc. If we did not specify width and height of the container it would occupy the whole empty space in the webpage. All the layout can be rendered into an HTML container with the attribute called as container: ‘html_id’.

    rows: [
        { template:"Row1"},
        { template:"Row2"}

Width and height are the values given in px and type attribute used to define the borders of the layout and rows attribute is an array of row objects and each row can have multiple rows and columns as per our requirement.

Fig 1: Two rows in Full screen

    rows: [
        { template:"Row1"},
        { cols:[

The above code consists of multiple columns in the second row.

Fig 2: Multiple columns in the second row in full screen

Fig 3: Multiple columns in the second row in smaller screen


Best Open Source Business Intelligence Software Helical Insight is Here


A Business Intelligence Framework

For further queries please get back to us.

Thanks You,
Neel Gagan
Helical IT solutions Pvt Ltd.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments