Categories | Question details Back To List | ||
Time Component Hi, Is there any component in the grid to select the time as we select the date from calendar component. And one more doubt can we add validations to the grid through standard edition. And i have one checkbox in the header if i select that checkbox then all checkbox in that column has to selected. Can you please help me in this issues. Thanks a lot for support you are giving... Regards Haritha. Answer posted by dhtmlx support on Sep 26, 2008 06:26 >> Is there any component in the grid to select the time as we select the date from calendar component. Unfortunately, these is not such a excell. You can try to create custom excell: http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_excell_creation.html >> And one more doubt can we add validations to the grid through standard edition. Yes, you can. There is onEditCell event you can use. Please, see article http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Cust_code_in_events.html If teh onEditCell event is handler returns true , editting result is confirmed, false - the previous values will be set, other value - this value will be set as the cell's value. >> And i have one checkbox in the header if i select that checkbox then all checkbox in that column has to selected. You can use #master_checkbox functionality in grid (dhtmlxgrid_filter.js should be included): mygrid.attachHeader("...,#master_checkbox,..."); The sample is http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/filtering/pro_filter_num.html |