Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by masa on Oct 11, 2009 15:37
open dhtmlx forum
dhtmlxFolders how to add new colums , my own iteam structure

Hello DHTMLX Team,
at fist i want say that you work is grait!
*sory for my englich*

I tried to get dhtmlxFolders to work but it still doesn't work.
I will take with regard to the example: Enable paginal output ( http://dhtmlx.com/docs/products/dhtmlxFolders/samples/05_paginal_output/01_paging.html )

the same example is contains if i download the standart edition.

if i am looking at the html file i see the line 61, there is the XML and XSL file specified
line 61: " myFolders.loadXML("../common/files_ext_05_paginal_output.xml","../../codebase/types/ficon.xsl"); "

the data strukture is defined in "../common/files_ext_05_paginal_output.xml" and the xsl file in "../../codebase/types/ficon.xsl"

I can't add a new column to a iteam.
for example i clear the xml file only 2 items with this structure :

<?xml version="1.0" encoding="UTF-8"?>
<data total_count="100">
    <item name="Classes" type="dir">
        <modifdate>2008-01-28 16-09-31</modifdate>         
    </item>
    <item name="1.jpg" type="file">        
        <filesize>231020</filesize>
        <modifdate>2007-04-20 11-12-20</modifdate>
        <atribute>666</atribute>
    </item>
</data>

My Question is how can i add a new column to the existing one?
I have a litle bit problems with the XSL file, and your examples doesn't help me.

See this pic. what have i to do to show the "Atribute" as a fourth column, is thi posible in the standart GPL edition of dhtmlxFolders ?
http://projekt.betcher-online.de/hows_add_a__new_colum.jpg

with kind regards
masa








Answer posted by Alex (support) on Oct 12, 2009 09:16

Hello, 

you can add new column (template of container with the necessary style) in the codebase/typres/ftable.xsl