Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 05, 2007 10:36
open dhtmlx forum
I want to insert a image to every column of dhtmlxGrid. How to do that?...

I want to insert a image to every column of dhtmlxGrid. How to do that?
Answer posted on Mar 05, 2007 10:37

dhtmlxGrid threats content as HTML, so you can insert anything in a row.

grid.addRow(1,["<img src='some file'>"]);

or in case of using xml

<rows>
            <row>
                        <cell><![CDATA[ <img scr="some file " /> ]]></cell>

By default height of grid row is fixed, so you also probably will need to call

            grid.enableMultiline(true);

after grid initialization
Answer posted by Stanislav (Support) on Nov 27, 2014 18:08

I hope this information will be enough for you. But you also can have a look at ajax library for php and php file upload progress bar.