Dhtmlx grid column types3/31/2024 ![]() edtxt - a column with editable text cells that treat data values as plain text, so HTML isn't allowed and any special char must be set without escaping.ed - a simple column with editable cells.In the Professional Edition you can set either the type of the whole column or the type of each cell in it.Īn editable column is presented in 3 variations: In the Standard Edition you can set types of the columns only.(doesn't matter which type the related column has). If you need, you may set the type for a specific row or cell using the setCellExcellType and setRowExcellType methods.A comma-separated list of types' codes must go without spaces.Otherwise, data will be omitted or parsed incorrectly. However, there are types (e.g., the 'price' type ) that are assigned only to the cells with numeric values. Some of the types can be assigned to any type of data in a column.By default, the grid assigns the "ed" type to all columns.setColTypes ( "dyn,ed,ed,price,ch,coro" ) mygrid. ![]() setHeader ( "Sales,Book Title,Author,Price,In Store,Shipping" ) mygrid. ![]() Mygrid = new dhtmlXGridObject ( "gridbox" ) As a parameter the method takes a comma-separated list of types' codes. It represents an array with spans objects.Basically, the content type is specified for the whole column with the help of the setColTypes method. The Grid component has the spans property that allows you to specify all necessary columns and rows spans right through the initial configuration. Since the multiselection configuration option is set to true, using the "Ctrl + Click" combination allows selecting the desired cells or rows.Ī range of Grid cells/rows can be selected by clicking the first element to select and then, while holding down the Shift key, clicking the last element to select. It is also possible to use shortcut keys for editing a cell in Grid by setting editable:true property in the configuration object of Grid. Move selection to the last horizontal cell with the change of the selected cells Move selection to the first horizontal cell with the change of the selected cells Move selection to the last vertical cell with the change of the selected cells Move selection to the first vertical cell with the change of the selected cells Move selection to the next horizontal cell with the change of the selected cells Move selection to the previous horizontal cell with the change of the selected cells Move selection to the next vertical cell with the change of the selected cells ![]() Move selection to the previous vertical cell with the change of the selected cells Use another mode ( "cell" or "row") in case you you want to activate these navigation keys: Shift+ArrowUp The arrow shortcut keys listed below do not work when the selection property is set to "complex". Move selection to the previous horizontal cell or to the first cell of the previous row Move selection to the next horizontal cell or the first cell of the next row Move selection to the last horizontal cell Move selection to the first horizontal cell Move selection to the first vertical cell Move selection to the next horizontal cell Move selection to the previous horizontal cell Move selection to the previous vertical cell ![]() The list of the arrow shortcut keys: ArrowUp ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |