Categories | Question details Back To List | ||
Few queries related to Grid Hi, I am working on DHTMLX 2.5 Pro version. I have a few queries related to Grid component: 1. Is there any way to give html code inside the cell content (which is defined as ro) so that it behaves as hyperlink? 2. I have a column with Radio buttons. How can i get the id of row having selected radio button. 3. I have a column with checkboxs. How can i get the list of selected checkboxes? 4. In a specific 'ro' cell, i want to add some hyperlink. Is there any way to do this? 5. I have a cell with long text like 'User websites: web1, web2, web3'. And web1, web2 & web3 point to different href urls. Is there any way to achieve this feature? Could you please provide the solutions for the above issues? Thanks in advance. Regards, Vibhav Agrawal Answer posted by dhxSupport on Dec 21, 2009 02:13 You can insert any html into grid cell: <cell><![CDATA[<input type='button' value='any' />]]></cell> If you need hyperlink in the grid cell, you can use "link" type. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/04_link_grid.html and tutorial here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:formatting_excells#link To get id's of checked rows, you can use getCheckedRows() method. http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_getcheckedrows |