{"id":22750232,"url":"https://github.com/webix-hub/webix-jquery","last_synced_at":"2025-04-14T12:54:40.265Z","repository":{"id":65379315,"uuid":"85984160","full_name":"webix-hub/webix-jquery","owner":"webix-hub","description":"Using Webix with jQuery","archived":false,"fork":false,"pushed_at":"2017-05-22T13:38:14.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T02:04:56.635Z","etag":null,"topics":["jquery","webix","webix-integration"],"latest_commit_sha":null,"homepage":"http://webix.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webix-hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-23T18:29:00.000Z","updated_at":"2024-03-29T15:16:08.000Z","dependencies_parsed_at":"2023-01-20T08:45:45.057Z","dependency_job_id":null,"html_url":"https://github.com/webix-hub/webix-jquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fwebix-jquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fwebix-jquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fwebix-jquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webix-hub%2Fwebix-jquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webix-hub","download_url":"https://codeload.github.com/webix-hub/webix-jquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675638,"owners_count":21143807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jquery","webix","webix-integration"],"created_at":"2024-12-11T04:13:08.142Z","updated_at":"2025-04-14T12:54:40.240Z","avatar_url":"https://github.com/webix-hub.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery adapter for Webix UI\n==========================\n\n[![npm version](https://badge.fury.io/js/webix-jquery.svg)](https://badge.fury.io/js/webix-jquery)\n\nBefore Webix 4.3 this module was part of webix.js.\n\nMaking preparations\n-------------------\n\nJQuery is included by a link specified in your document's head section: \n\n~~~html\n\u003cscript src=\"../path/library_name.js\" type=\"text/javascript\" charset=\"utf-8\"\u003e\u003c/script\u003e\n~~~\n\nComponent initialization\n-----------------------\n~~~js\n$('#div ID/ .CSS selector').webix_component({config});\n~~~\n\nLet it be list:\n\n~~~js\n\u003cdiv id=\"listA\"\u003e\u003c/div\u003e\n  ...\n$(\"#listA\").webix_list({\n\twidth:320, height:600,\n\ttemplate:\"#votes# #rank# #title#\",\n\tdata:big_film_set\n});\n~~~\n\n**Related sample:** [JQuery List](https://webix-hub.github.io/webix-jquery/samples/01_list.html)\n\nWorking with Components \n--------------------------\n\nYou can get to any component using the same scheme and apply functions to it. \n\n~~~js\n$('#div ID/ .CSS selector').webix_component().count() \n~~~\n\nAdvantages of JQuery Integration\n-------------------\n\n1 . An HTML container for any component can be specified by its **ID** or **CSS class** used with it. With the webix library means HTML container can be defined by its ID only:\n\n~~~js\n\u003cdiv class='calendar_here'\u003e\u003c/div\u003e\n\u003cdiv id='list_here'\u003e\u003c/div\u003e\n...\n$(\"#listA\").webix_calendar({config}); // div ID\n$(\".calendar_here\").webix_calendar(); //CSS selector\n~~~\n\n2 . If you use the same **CSS class for several nodes**, you can create **multiple instances** of the same view by pointing to this CSS class during component initialization. \n\n\n~~~js\n\u003cdiv class='calendar_here'\u003e\u003c/div\u003e\n\u003cdiv class='calendar_here'\u003e\u003c/div\u003e\n...\n$(\".calendar_here\").webix_calendar();\n~~~\n\n**Related sample:** [JQuery Calendar](https://webix-hub.github.io/webix-jquery/samples/02_calendar.html)\n\n3 . An **HTML table** can be a **data source** for the component initialized in the same container. Each column in the table is reflected as a template item for the component:\n\n~~~html\n\u003ctr\u003e\n\t\u003ctd\u003e1\u003c/td\u003e\n\t\u003ctd\u003eRecord #102\u003c/td\u003e\n\t\u003ctd\u003e5406\u003c/td\u003e\n\u003c/tr\u003e\n~~~\n\nColumns in template are called ##data## and are numbered starting from 0. \n\n~~~js\n{\n\ttemplate:\"\u003cdiv class='mark'\u003e#data2# \u003c/div\u003e #data0#. #data1#\",\n\t...\n}\n~~~\n\n**Related sample:** [JQuery List from HTML table](https://webix-hub.github.io/webix-jquery/samples/03_from_table.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Fwebix-jquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebix-hub%2Fwebix-jquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebix-hub%2Fwebix-jquery/lists"}