Categories | Question details Back To List | ||
grid loading images from JavaScript Array Hi i need to show img or another html content in a cell in my grid, for example see the below code i´m trying show the image but don´t work... thanks for your helps.-. [ [ "100", "<img src='column_b.asc.gif' />", "John Grisham", "12.99", "1", "05/01/1998]]; Jorge Arzuaga Answer posted by dhxSupport on Sep 22, 2009 04:03 You can use "img" eXcell type. In such case you will need just insern path to the image: [ "100", "column_b.asc.gif", "John Grisham", "12.99", "1", "05/01/1998]]; Please check example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/09_pro_excell_extra.html Answer posted on Sep 22, 2009 10:00 NOT IS POSSIBLE ADD ANYTHING CODE HTML IN CELL WITHOUT USING eXcell type ?? THANKS? Answer posted by dhxSupport on Sep 22, 2009 10:09 Yes, this is impossible to insert any html into cell if you are using javascript array to load grid. Answer posted on Sep 22, 2009 10:25 Ok thanks for all, try with xml, all my questions because i have myself grid under php, but i need the structure or style of your dhtmlxGrid for example resize the columns or ocult my filters... thanks anew.. |