gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Sjtree display checkoxes #825

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please can you add a way to display checkoxes in a tree or add a parameter to 
define extra sjtree plugins (with settings configuration)
Tanks a lot

Original issue reported on code.google.com by jflefeb...@sopragroup.com on 20 May 2012 at 6:35

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 22 May 2012 at 2:05

GoogleCodeExporter commented 9 years ago
New attribute checkbox for sj:tree tag is available. This atribute enables 
checkboxes for all tree items.

Example:

    <s:form id="treeForm" action="echo" theme="simple">
        <sjt:tree 
            name="echo"
            id="treeDynamicCheckboxes" 
            jstreetheme="apple"
            rootNode="nodes"
            childCollectionProperty="children"
            nodeTitleProperty="title"
            nodeIdProperty="id"
            openAllOnLoad="true" 
            checkbox="true"
            onClickTopics="treeClicked" 
        />
        <sj:submit formIds="treeForm" targets="result3" button="true" />
    </s:form>
    <strong>Result Div :</strong>
    <div id="result3" class="result ui-widget-content ui-corner-all">Click on the AJAX Submit above.</div>

http://code.google.com/p/struts2-jquery/source/detail?r=1666

Original comment by johgep on 20 Jun 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Thanks a lot

Original comment by jflefeb...@sopragroup.com on 20 Jun 2012 at 7:47

GoogleCodeExporter commented 9 years ago
Added topics to hide/show/check all/uncheck all Checkboxes

http://code.google.com/p/struts2-jquery/source/detail?r=1669

Original comment by johgep on 2 Jul 2012 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 10 Jul 2012 at 8:10