![]() ![]() If defined (not null) will be used to calculate the minimal width of the given jQuery th - node. Parameter is the dataTable column which has been resized and all other columns in the table. onResizeEndĬallback on drag end / touchend event. ![]() Parameter is the dataTable column which is currently being resized. onResizeĬallback on dragging / touchmove event. onResizeStartĬallback on drag start / touchstart event. Return false will not attach the drag events to the column. Specify whether min-width / max-width styles are checked to keep resizing of column in bounds minBoundClassĬlass which will be toggled for 500ms once the min-width of the column has been reached maxBoundClassĬlass which will be toggled for 500ms once the max-width of the column has been reached isResizableĬalled once during plugin/datatable init. Specify whether state should automatically save when changed and restore on page load hoverClassĬlass which will be toggled on resizable & hovered element (right border +/- 10px) hasBoundCheck Specify whether resize functionality is enabled on dataTable init saveState You can use event handlers to call the above methods:Īdjusting DataTable to the size of a window, its placed into Possible solutions can look as shown in the table below: Table 1ĭocument. The initial height of DataTable is 50 px. The resize() and adjust() methods can lead to one and the same effect.įor example, you have DataTable placed into a 'div' container named 'box'. ![]() ![]() Related sample: Dynamic Adjusting to the Parent Container The usage of string values is incorrect and will cause errors in the sizing logic. The width and height of a datatable must be set through number values. You can also read about sizing in Webix tutorials. In this chapter you will learn how to set and change sizes for 3 different DataTable elements: Start UI Widgets DataTable Configuration Sizing and Resizing ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |