<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>source.mihelac.org - HTML Treetable Comments</title>
  <id>tag:source.mihelac.org,2008:/2005/7/28/html-treetable/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://source.mihelac.org/2005/7/28/html-treetable/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
  <updated>2008-10-17T04:57:29Z</updated>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>surendra</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:3791</id>
    <published>2008-10-17T04:57:29Z</published>
    <updated>2008-10-17T04:57:29Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by surendra</title>
<content type="html">&lt;p&gt;Hi Bojan,&lt;/p&gt;


	&lt;p&gt;I am really excited about your &lt;span class=&quot;caps&quot;&gt;JAVASCRIPT&lt;/span&gt; which expands and collapses on the mouse click .&lt;/p&gt;


	&lt;p&gt;Can you please elaborate on how the following function really works .&lt;/p&gt;


	&lt;p&gt;function treetable_fireEventRowStateChanged(rowId, state) {
  if (treetable_callbacks[&#8216;eventRowStateChanged&#8217;]) {
    callback = treetable_callbacks[&#8216;eventRowStateChanged&#8217;] + &#8220;(&#8217;&#8221; + rowId + &#8221;&#8217;, &#8221; + state + &#8220;);&#8221;;
    eval(callback);
  }
}&lt;/p&gt;


	&lt;p&gt;Thanjks in advance&#8230;...............................................&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Antton Rodriguez</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:854</id>
    <published>2008-01-21T14:41:12Z</published>
    <updated>2008-01-21T14:41:12Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Antton Rodriguez</title>
<content type="html">&lt;p&gt;I&#8217;m quite interesting in a &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; script as well, if you can send me i&#8217;ll be so thanksfull..&lt;/p&gt;


	&lt;p&gt;Thanks, even for the example&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan Mihelac</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:773</id>
    <published>2007-12-18T07:08:28Z</published>
    <updated>2007-12-18T07:08:28Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan Mihelac</title>
<content type="html">&lt;p&gt;Venkat, sure, you can add as many as you need.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Venkat</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:772</id>
    <published>2007-12-17T21:28:51Z</published>
    <updated>2007-12-17T21:28:51Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Venkat</title>
<content type="html">&lt;p&gt;Great Stuff Bojan,
Can we get 4child nodes!!  Present stuff showings only one level its possible to do it for 4 levels???&lt;/p&gt;


	&lt;p&gt;Thanks,
Ven&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>hiutopor</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:428</id>
    <published>2007-09-18T08:07:40Z</published>
    <updated>2007-09-18T08:07:40Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by hiutopor</title>
<content type="html">&lt;p&gt;Hello&lt;/p&gt;


	&lt;p&gt;Very interesting information! Thanks!&lt;/p&gt;


	&lt;p&gt;G&#8217;night&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Dino</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:145</id>
    <published>2007-06-26T16:12:42Z</published>
    <updated>2007-06-26T16:12:42Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Dino</title>
<content type="html">&lt;p&gt;First of all thanks for your script. I found it very useful. Do you have some news about the &#8216;default visibility state&#8217; of rows the first time they are displayed? I would appreciate your help. Thanks again!!!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>dennis</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:134</id>
    <published>2007-06-22T22:14:43Z</published>
    <updated>2007-06-22T22:14:43Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by dennis</title>
<content type="html">&lt;p&gt;I am looking for a script that only shows one row at a time and if you klik on the link it will close the previous row and show only the selected one. Can you help me?&lt;/p&gt;


	&lt;p&gt;On all scripts you have to close the previous selected row but I would like it to happen automatically so you will only see one row at a time&lt;/p&gt;


	&lt;p&gt;regards
dennis&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Nilesh(its_nilesh@hotmail.com)</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:77</id>
    <published>2007-04-16T17:46:50Z</published>
    <updated>2007-04-16T17:46:50Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Nilesh(its_nilesh@hotmail.com)</title>
<content type="html">I am sorry for the messy code above. I had a problem with the code you out here. It takes multiple clicks to expand or collapse intialy when the page reloads and then works fine.
Can you tell me y is it so? and wat is the fix for it?
Regards,
Nilesh</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Nilesh(its_nilesh@hotmail.com)</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:76</id>
    <published>2007-04-16T17:19:10Z</published>
    <updated>2007-04-16T17:19:10Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Nilesh(its_nilesh@hotmail.com)</title>
<content type="html">Hi,

 I tried the same script that you have given in example2 but it not works. Intialy when the page loads it doesnt work for the first click. It starts working only from the second Click.
Wondering y?

 Also i have got certain data to display in the rows now when i click any cell which has data the page reloads and already hidden row expand.

please help me.

here is my code.

&amp;lt;table cellspacing=&quot;1&quot; class=&quot;collapsible&quot; bordercolor=&quot;#111111&quot; border=&quot;0&quot; id=&quot;table1&quot; height=&quot;100%&quot; cellpadding=&quot;1&quot;&gt;
	
&amp;lt;tr id=&quot;table1_0&quot;&gt;
   
   &amp;lt;td bgcolor=&quot;#E6EDF7&quot; class=&quot;header&quot; height=&quot;23&quot; valign=&quot;middle&quot; align=&quot;left&quot; width=&quot;100%&quot; colspan=&quot;11&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;/abis/images/minus.gif&quot; height=&quot;9&quot; alt=&quot;&lt;bean:message key=&quot;alt.click.collapse&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; width=&quot;9&quot;&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;lt;bean:message bundle=&quot;AbisResources&quot; key=&quot;facial.face&quot; /&gt;&amp;lt;/td&gt;
              &amp;lt;/tr&gt;
					&amp;lt;!-- render images --&gt;
	
 &amp;lt;tr id=&quot;table1_0_0&quot;&gt;
  &amp;lt;%thumbnailsBgColor = &quot;#E4ECF5&quot;;%&gt;
&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;1&quot; offset=&quot;0&quot;&gt;
&amp;lt;%String val = thumbnail.getValue();
  String code = thumbnail.getCode();
 String updatedValue = thumbnail.getValue();
if (true == val.startsWith(&quot;/abis/user/content?&quot;)) {
																val += &quot;&amp;width=400&quot;;
																updatedValue += &quot;&amp;width=59&quot;;
															} else {
																// MOZILLA_FIX
																if (isMozilla) {
																	if (!val.endsWith(&quot;.jpg&quot;) &amp;&amp; !val.endsWith(&quot;.jpeg&quot;)
																	&amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																if (indx.intValue() == 0)
																	updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																else if (code.startsWith(&quot;0&quot;))
																	updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																else
																	updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																	}
																} else {
																	if (!val.endsWith(&quot;.bmp&quot;) &amp;&amp; !val.endsWith(&quot;.jpg&quot;)
																	&amp;&amp; !val.endsWith(&quot;.jpeg&quot;) &amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																if (indx.intValue() == 0)
																	updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																else if (code.startsWith(&quot;0&quot;))
																	updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																else
																	updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																	}
																}
																if (isMozilla
																&amp;&amp; updatedValue.startsWith(&quot;/abis/images&quot;) == false)
																	updatedValue = &quot;file://&quot; + updatedValue;
															}
															if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																	.getSelectedThumbnailID())
																thumbnailsBgColor = &quot;#C4D2E8&quot;;
														%&gt;

														&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;contents&quot; id=&quot;cell.thumbnail.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot; colspan=&quot;1&quot;&gt;
															&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;%=updatedValue%&gt;&quot; alt=&quot;&lt;bean:message key='&lt;%=thumbnail.getDesc()%&gt;' bundle='AbisResources'/&gt;&quot; width=&quot;59&quot;&gt;
															&lt;/a&gt;

														&amp;lt;/td&gt;
														&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														%&gt;
													&amp;lt;/logic:iterate&gt;
												&amp;lt;/tr&gt;




												&amp;lt;!-- render labels --&gt;
												&amp;lt;tr id=&quot;table1_0_1&quot;&gt;
													&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														classString = &quot;contents_9px&quot;;
													%&gt;
													&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;1&quot; offset=&quot;0&quot;&gt;
														&amp;lt;%
																	if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																	.getSelectedThumbnailID()) {
																thumbnailsBgColor = &quot;#C4D2E8&quot;;
																classString = &quot;contents_9px_bold&quot;;
															}
														%&gt;
														&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;&amp;lt;%=classString%&gt;&quot; id=&quot;cell.label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; height=&quot;20&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot; colspan=&quot;1&quot;&gt;
															&amp;lt;input id=&quot;label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; value=&quot;&amp;lt;bean:message key=&quot;&amp;lt;%=thumbnail.getDesc()%&gt;&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; onfocus=&quot;document.forms[0].dummy.focus();&quot; style=&quot;border: none &amp;lt;%=thumbnailsBgColor%&gt;;padding:0px;text-align:center;background:&amp;lt;%=thumbnailsBgColor%&gt;;border=0px;width:59px;font-size:9px;align=center;&quot;&gt;
														&amp;lt;/td&gt;
														&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															classString = &quot;contents_9px&quot;;
														%&gt;
													&amp;lt;/logic:iterate&gt;
												&amp;lt;/tr&gt;
		                 

	&amp;lt;tr id=&quot;table1_2&quot;&gt;
	   
	     &amp;lt;td bgcolor=&quot;#E6EDF7&quot; class=&quot;header&quot; height=&quot;23&quot; valign=&quot;middle&quot; align=&quot;left&quot; width=&quot;100%&quot; colspan=&quot;11&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;/abis/images/minus.gif&quot; height=&quot;9&quot; alt=&quot;&lt;bean:message key=&quot;alt.click.collapse&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; width=&quot;9&quot;&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;lt;bean:message bundle=&quot;AbisResources&quot; key=&quot;fingerprint.fingerprint&quot; /&gt;&amp;lt;/td&gt;  
	
	    &amp;lt;/tr&gt;
    
	
	
	

	
	
				
													&amp;lt;!-- render images --&gt;
	
													&amp;lt;!-- row one --&gt;
													&amp;lt;tr id=&quot;table1_2_0&quot;&gt;
														&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														%&gt;
														&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;11&quot; offset=&quot;1&quot;&gt;
															&amp;lt;%
																String val = thumbnail.getValue();
																String code = thumbnail.getCode();
																String updatedValue = thumbnail.getValue();
	
																if (true == val.startsWith(&quot;/abis/user/content?&quot;)) {
																	val += &quot;&amp;width=400&quot;;
																	updatedValue += &quot;&amp;width=59&quot;;
																} else {
																	// MOZILLA_FIX
																	if (isMozilla) {
																		if (!val.endsWith(&quot;.jpg&quot;) &amp;&amp; !val.endsWith(&quot;.jpeg&quot;)
																		&amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																	if (indx.intValue() == 0)
																		updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																	else if (code.startsWith(&quot;0&quot;))
																		updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																	else
																		updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																		}
																	} else {
																		if (!val.endsWith(&quot;.bmp&quot;) &amp;&amp; !val.endsWith(&quot;.jpg&quot;)
																		&amp;&amp; !val.endsWith(&quot;.jpeg&quot;) &amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																	if (indx.intValue() == 0)
																		updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																	else if (code.startsWith(&quot;0&quot;))
																		updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																	else
																		updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																		}
																	}
																	if (isMozilla
																	&amp;&amp; updatedValue.startsWith(&quot;/abis/images&quot;) == false)
																		updatedValue = &quot;file://&quot; + updatedValue;
																}
																if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																		.getSelectedThumbnailID())
																	thumbnailsBgColor = &quot;#C4D2E8&quot;;
															%&gt;
	
															&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;contents&quot; id=&quot;cell.thumbnail.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot; colspan=&quot;1&quot;&gt;
																&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;%=updatedValue%&gt;&quot; alt=&quot;&lt;bean:message key='&lt;%=thumbnail.getDesc()%&gt;' bundle='AbisResources'/&gt;&quot; width=&quot;59&quot;&gt;
																&lt;/a&gt;
	
															&amp;lt;/td&gt;
															&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															%&gt;
														&amp;lt;/logic:iterate&gt;
													&amp;lt;/tr&gt;
	
	
	
	
													&amp;lt;!-- render labels --&gt;
													&amp;lt;tr id=&quot;table1_2_1&quot;&gt;
														&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															classString = &quot;contents_9px&quot;;
														%&gt;
														&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;11&quot; offset=&quot;1&quot;&gt;
															&amp;lt;%
																		if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																		.getSelectedThumbnailID()) {
																	thumbnailsBgColor = &quot;#C4D2E8&quot;;
																	classString = &quot;contents_9px_bold&quot;;
																}
															%&gt;
															&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;&amp;lt;%=classString%&gt;&quot; id=&quot;cell.label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; height=&quot;20&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot; colspan=&quot;1&quot;&gt;
																&amp;lt;input id=&quot;label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; value=&quot;&amp;lt;bean:message key=&quot;&amp;lt;%=thumbnail.getDesc()%&gt;&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; onfocus=&quot;document.forms[0].dummy.focus();&quot; style=&quot;border: none &amp;lt;%=thumbnailsBgColor%&gt;;padding:0px;text-align:center;background:&amp;lt;%=thumbnailsBgColor%&gt;;border=0px;width:59px;font-size:9px;align=center;&quot;&gt;
															&amp;lt;/td&gt;
															&amp;lt;%
																thumbnailsBgColor = &quot;#E4ECF5&quot;;
																classString = &quot;contents_9px&quot;;
															%&gt;
														&amp;lt;/logic:iterate&gt;
													&amp;lt;/tr&gt;
	
	
													&amp;lt;!-- row two --&gt;
													&amp;lt;tr id=&quot;table1_2_2&quot;&gt;
														&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														%&gt;
														&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;9&quot; offset=&quot;12&quot;&gt;
															&amp;lt;%
																String val = thumbnail.getValue();
																String code = thumbnail.getCode();
																String updatedValue = thumbnail.getValue();
																if (true == val.startsWith(&quot;/abis/user/content?&quot;)) {
																	val += &quot;&amp;width=400&quot;;
																	updatedValue += &quot;&amp;width=59&quot;;
																} else {
																	// MOZILLA_FIX
																	if (isMozilla) {
																		if (!val.endsWith(&quot;.jpg&quot;) &amp;&amp; !val.endsWith(&quot;.jpeg&quot;)
																		&amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																	if (indx.intValue() == 0)
																		updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																	else if (code.startsWith(&quot;0&quot;))
																		updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																	else
																		updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																		}
																	} else {
																		if (!val.endsWith(&quot;.bmp&quot;) &amp;&amp; !val.endsWith(&quot;.jpg&quot;)
																		&amp;&amp; !val.endsWith(&quot;.jpeg&quot;) &amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																	if (indx.intValue() == 0)
																		updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																	else if (code.startsWith(&quot;0&quot;))
																		updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																	else
																		updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																		}
																	}
																	if (isMozilla
																	&amp;&amp; updatedValue.startsWith(&quot;/abis/images&quot;) == false)
																		updatedValue = &quot;file://&quot; + updatedValue;
																}
																if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																		.getSelectedThumbnailID())
																	thumbnailsBgColor = &quot;#C4D2E8&quot;;
															%&gt;
															&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;contents&quot; id=&quot;cell.thumbnail.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot;&gt;
																&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;%=updatedValue%&gt;&quot; alt=&quot;&lt;bean:message key='&lt;%=thumbnail.getDesc()%&gt;' bundle='AbisResources'/&gt;&quot; width=&quot;59&quot;&gt;
																&lt;/a&gt;
	
															&amp;lt;/td&gt;
															&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															%&gt;
														&amp;lt;/logic:iterate&gt;
													&amp;lt;/tr&gt;
													&amp;lt;!-- render labels --&gt;
													&amp;lt;tr id=&quot;table1_2_3&quot;&gt;
														&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															classString = &quot;contents_9px&quot;;
														%&gt;
														
														&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;9&quot; offset=&quot;12&quot;&gt;
															&amp;lt;%
																		if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																		.getSelectedThumbnailID()) {
																	thumbnailsBgColor = &quot;#C4D2E8&quot;;
																	classString = &quot;contents_9px_bold&quot;;
																}
															%&gt;
															&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;&amp;lt;%=classString%&gt;&quot; id=&quot;cell.label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; height=&quot;20&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot;&gt;
																&amp;lt;input id=&quot;label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; value=&quot;&amp;lt;bean:message key=&quot;&amp;lt;%=thumbnail.getDesc()%&gt;&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; onfocus=&quot;document.forms[0].dummy.focus();&quot; style=&quot;border: none &amp;lt;%=thumbnailsBgColor%&gt;;padding:0px;text-align:center;background:&amp;lt;%=thumbnailsBgColor%&gt;;border=0px;width:59px;font-size:9px;align=center;&quot;&gt;
															&amp;lt;/td&gt;
															&amp;lt;%
																thumbnailsBgColor = &quot;#E4ECF5&quot;;
																classString = &quot;contents_9px&quot;;
															%&gt;
														&amp;lt;/logic:iterate&gt;
	
	&amp;lt;/tr&gt;
	&amp;lt;tr id=&quot;table1_3&quot;&gt;
	  
	  &amp;lt;td bgcolor=&quot;#E6EDF7&quot; class=&quot;header&quot; height=&quot;23&quot; valign=&quot;middle&quot; align=&quot;left&quot; width=&quot;100%&quot; colspan=&quot;11&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;/abis/images/minus.gif&quot; height=&quot;9&quot; alt=&quot;&lt;bean:message key=&quot;alt.click.collapse&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; width=&quot;9&quot;&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;lt;bean:message bundle=&quot;AbisResources&quot; key=&quot;system.configuration.iris.label&quot; /&gt;&amp;lt;/td&gt;  
    &amp;lt;/tr&gt;
			
												&amp;lt;!-- render images --&gt;

												&amp;lt;!-- row one --&gt;
												&amp;lt;tr id=&quot;table1_3_0&quot;&gt;
													&amp;lt;%
													thumbnailsBgColor = &quot;#E4ECF5&quot;;
													%&gt;
													&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;2&quot; offset=&quot;21&quot;&gt;
														&amp;lt;%
															String val = thumbnail.getValue();
															String code = thumbnail.getCode();
															String updatedValue = thumbnail.getValue();

															if (true == val.startsWith(&quot;/abis/user/content?&quot;)) {
																val += &quot;&amp;width=400&quot;;
																updatedValue += &quot;&amp;width=59&quot;;
															} else {
																// MOZILLA_FIX
																if (isMozilla) {
																	if (!val.endsWith(&quot;.jpg&quot;) &amp;&amp; !val.endsWith(&quot;.jpeg&quot;)
																	&amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																if (indx.intValue() == 0)
																	updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																else if (code.startsWith(&quot;0&quot;))
																	updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																else
																	updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																	}
																} else {
																	if (!val.endsWith(&quot;.bmp&quot;) &amp;&amp; !val.endsWith(&quot;.jpg&quot;)
																	&amp;&amp; !val.endsWith(&quot;.jpeg&quot;) &amp;&amp; !val.endsWith(&quot;.gif&quot;)) {
																if (indx.intValue() == 0)
																	updatedValue = &quot;/abis/images/noimage-w300.jpg&quot;;
																else if (code.startsWith(&quot;0&quot;))
																	updatedValue = &quot;/abis/images/fp-noimage-x-400.jpg&quot;;
																else
																	updatedValue = &quot;/abis/images/iris-noimage-x-400.jpg&quot;;
																	}
																}
																if (isMozilla
																&amp;&amp; updatedValue.startsWith(&quot;/abis/images&quot;) == false)
																	updatedValue = &quot;file://&quot; + updatedValue;
															}
															if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																	.getSelectedThumbnailID())
																thumbnailsBgColor = &quot;#C4D2E8&quot;;
														%&gt;

														&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;contents&quot; id=&quot;cell.thumbnail.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot;&gt;
															&lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;&lt;%=updatedValue%&gt;&quot; alt=&quot;&lt;bean:message key='&lt;%=thumbnail.getDesc()%&gt;' bundle='AbisResources'/&gt;&quot; width=&quot;59&quot;&gt;
															&lt;/a&gt;

														&amp;lt;/td&gt;
														&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														%&gt;
													&amp;lt;/logic:iterate&gt;
												&amp;lt;/tr&gt;

												&amp;lt;!-- render labels --&gt;
												&amp;lt;tr id=&quot;table1_3_1&quot;&gt;
													&amp;lt;%
														thumbnailsBgColor = &quot;#E4ECF5&quot;;
														classString = &quot;contents_9px&quot;;
													%&gt;
													&amp;lt;logic:iterate name=&quot;xmlRpcEnrollForm&quot; indexid=&quot;indx&quot; property=&quot;thumbnails&quot; type=&quot;com.identix.abis.control.forms.DisplayedToken&quot; id=&quot;thumbnail&quot; length=&quot;2&quot; offset=&quot;21&quot;&gt;
														&amp;lt;%
																	if ((thmbOffset + indx.intValue()) == xmlRpcEnrollForm
																	.getSelectedThumbnailID()) {
																thumbnailsBgColor = &quot;#C4D2E8&quot;;
																classString = &quot;contents_9px_bold&quot;;
															}
														%&gt;
														&amp;lt;td bgcolor=&quot;&amp;lt;%=thumbnailsBgColor%&gt;&quot; class=&quot;&amp;lt;%=classString%&gt;&quot; id=&quot;cell.label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; height=&quot;20&quot; valign=&quot;top&quot; align=&quot;center&quot; width=&quot;59&quot;&gt;
															&amp;lt;input id=&quot;label.&amp;lt;%=(thmbOffset + indx.intValue())%&gt;&quot; value=&quot;&amp;lt;bean:message key=&quot;&amp;lt;%=thumbnail.getDesc()%&gt;&quot; bundle=&quot;AbisResources&quot;/&gt;&quot; onfocus=&quot;document.forms[0].dummy.focus();&quot; style=&quot;border: none &amp;lt;%=thumbnailsBgColor%&gt;;padding:0px;text-align:center;background:&amp;lt;%=thumbnailsBgColor%&gt;;border=0px;width:59px;font-size:9px;align=center;&quot;&gt;
														&amp;lt;/td&gt;
														&amp;lt;%
															thumbnailsBgColor = &quot;#E4ECF5&quot;;
															classString = &quot;contents_9px&quot;;
														%&gt;
													&amp;lt;/logic:iterate&gt;
												&amp;lt;/tr&gt;
		&amp;lt;/table&gt;                      

                      &amp;lt;/logic:notequal&gt;
                    &amp;lt;/td&gt;
                  &amp;lt;/tr&gt;</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>nullVoid</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:75</id>
    <published>2007-04-12T10:04:58Z</published>
    <updated>2007-04-12T10:04:58Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by nullVoid</title>
<content type="html">I am interested in the PHP script you mentioned... would you be able to provide that?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>frnx</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:74</id>
    <published>2007-02-16T13:50:48Z</published>
    <updated>2007-02-16T13:50:48Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by frnx</title>
<content type="html">Very good work!
I'm very interesting to have a look of the PHP which could provide an automatic generation of the tree from an array.
Can you send it to me please at this adress : franck@frnx.com.
Bye</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:73</id>
    <published>2006-11-13T14:38:16Z</published>
    <updated>2006-11-13T14:38:16Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan</title>
<content type="html">malacma,

check &quot;RadiantCMS&quot;:http://radiantcms.org, I think they have some implementation of tree table and are loading nodes with AJAX.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:72</id>
    <published>2006-11-13T14:36:39Z</published>
    <updated>2006-11-13T14:36:39Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan</title>
<content type="html">Sara, you could keep states by calling URL in background on open/closing nodes which would set these data in session or database. These URL could look something like

remember?id=table1_0_0_0&amp;state=true</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Joe</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:71</id>
    <published>2006-11-09T16:11:26Z</published>
    <updated>2006-11-09T16:11:26Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Joe</title>
<content type="html">The last row border is not displaying when I collapse the last parent/child.  I know it has something to do with the tr tag.  Any ideas?

Thank you.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Sara</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:70</id>
    <published>2006-11-09T10:32:26Z</published>
    <updated>2006-11-09T10:32:26Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Sara</title>
<content type="html">Thank you so much for your script. It has helped me a lot.  I also had a question.  How would I be able to keep the state that the rows are on, when the page is refreshed by either a row added or deleted?  Some rows are expanded and some collapsed - how would I keep each of their states, so that it doesn't default to all expanded or all collapsed?

Thanks!</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Sara</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:69</id>
    <published>2006-11-09T10:31:42Z</published>
    <updated>2006-11-09T10:31:42Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Sara</title>
<content type="html">Thank you so much for your script. It has helped me a lot.  I also had a question.  How would I be able to keep the state that the rows are on, when the page is refreshed by either a row added or deleted?  Some rows are expanded and some collapsed - how would I keep each of their states, so that it doesn't default to all expanded or all collapsed?

Thanks!</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Ajith v</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:68</id>
    <published>2006-11-01T04:57:45Z</published>
    <updated>2006-11-01T04:57:45Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Ajith v</title>
<content type="html">Hello,

The script has helped me. Thank you.

regards

Ajith</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Nilesh Dhote</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:67</id>
    <published>2006-09-30T06:16:35Z</published>
    <updated>2006-09-30T06:16:35Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Nilesh Dhote</title>
<content type="html">Hello, 

We have started a new venture www.scripts-directory.net and would request you to submit your scripts. 

Submission of scripts is absolutely FREE and Without Registration.

Please visit www.scripts-directory.net 

Regards


Nilesh Dhote 

Business development,
Scripts-Directory.net</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>nik</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:66</id>
    <published>2006-08-29T07:58:51Z</published>
    <updated>2006-08-29T07:58:51Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by nik</title>
<content type="html">the only problem I've got is a VERY slow collapse/expand feature with  a number of records more than 1000...is there a way to increase a speed?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>http://malacma.cjb.net/malacma@gmail.com</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:65</id>
    <published>2006-08-10T21:25:39Z</published>
    <updated>2006-08-10T21:25:39Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by http://malacma.cjb.net/malacma@gmail.com</title>
<content type="html">Oh! I wonder too if were implemented a AJAX call that populate nodes! Anybody knows where to find it?

malacma@gmail.com</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>rathina@indigotx.com</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:64</id>
    <published>2006-08-08T00:32:07Z</published>
    <updated>2006-08-08T00:32:07Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by rathina@indigotx.com</title>
<content type="html">Tree javascript is very usefull , i used in my project , thanks a lot</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:63</id>
    <published>2006-07-12T03:01:43Z</published>
    <updated>2006-07-12T03:01:43Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan</title>
<content type="html">Greg, 
you can change treetable_eventRowChanged(rowId, state) function so you can use more icons if you need. For example, you can add &quot;_open&quot; or &quot;_closed&quot; to existing img.src and this way can use as many images you want.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>greg@gregdressel.com</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:62</id>
    <published>2006-07-11T15:20:04Z</published>
    <updated>2006-07-11T15:20:04Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by greg@gregdressel.com</title>
<content type="html">bojan, thanks for the great/smart script. i just had a question about using multiple on/off images to initiate the script. currently it's based on using just 1 'folder' icon, but what if you had a couple tab-images on a page, each able to collapse/expand a tree table, BUT, they are 2 different images, both with their own on and off state? any ideas?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Donna</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:61</id>
    <published>2006-06-22T17:15:19Z</published>
    <updated>2006-06-22T17:15:19Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Donna</title>
<content type="html">Hi Bojan,

It is indeed a great utility. I would really appreciate if you could let me know how we can add paging support for the treetable?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Alexander landpro</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:60</id>
    <published>2006-04-13T06:18:09Z</published>
    <updated>2006-04-13T06:18:09Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Alexander landpro</title>
<content type="html">Very useful!
Thank you very much!</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:59</id>
    <published>2006-04-05T11:08:18Z</published>
    <updated>2006-04-05T11:08:18Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan</title>
<content type="html">mlad, generating HTML with server side shouldn't be any problem. Just follow naming scheme for rows ID's and it would work.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>mlad</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:58</id>
    <published>2006-04-05T10:06:06Z</published>
    <updated>2006-04-05T10:06:06Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by mlad</title>
<content type="html">Hi Bojan. I have interest for server side script which generate html code for the table. Any ideas?

Thanks</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:57</id>
    <published>2006-04-04T11:43:33Z</published>
    <updated>2006-04-04T11:43:33Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan</title>
<content type="html">Jingesh, this script would not work in Netscape 4.7 at least because it uses getElementById() which Netscape 4.7 does not support.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Jignesh</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:56</id>
    <published>2006-04-04T03:07:57Z</published>
    <updated>2006-04-04T03:07:57Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Jignesh</title>
<content type="html">Hi Bojan, its good to help me. But i have question my many clients using NetScape 4.7 can u tell me How it will work in NetScape 4.7 ? please reply asap. thanks &amp; Regards -Jignesh</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Carlos Rivero</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:55</id>
    <published>2006-02-18T05:02:52Z</published>
    <updated>2006-02-18T05:02:52Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Carlos Rivero</title>
<content type="html">hey ... thanks for this tree table, Any clues on how to collapse by default with onload event or using display none ???

I have implemented a part to hide colums but is slow very big tables.

&lt;pre&gt;
function togglecol(colIndex,colIndexEnd) {

for (colIndex; colIndex &amp;lt;= colIndexEnd; colIndex++)
{
var table = document.all ? document.all.table1 :

document.getElementById('table1');
for (var r = 0; r &amp;lt; table.rows.length; r++){
if(table.rows[r].cells[colIndex].style.display == \&quot;none\&quot;)
{
table.rows[r].cells[colIndex].style.display = \'\';
//treetable_fireEventColStateChanged(colId, \'1\');
}
else
{
table.rows[r].cells[colIndex].style.display = \'none\';
// treetable_fireEventColStateChanged(colId, \'0\');
}
} } }
&lt;/pre&gt;

to call the function use starting and ending column to hide</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan Mihelac</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:54</id>
    <published>2006-02-11T09:12:31Z</published>
    <updated>2006-02-11T09:12:31Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan Mihelac</title>
<content type="html">Krishnendra: If you generate table on server then it would be very easy to sort table.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Krishnendra</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:53</id>
    <published>2006-02-10T09:34:49Z</published>
    <updated>2006-02-10T09:34:49Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Krishnendra</title>
<content type="html">How do we add sorting capabilities on the columns?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Yusuf</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:52</id>
    <published>2006-02-10T07:42:21Z</published>
    <updated>2006-02-10T07:42:21Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Yusuf</title>
<content type="html">Great utility.. hmm i wonder if anyone has any ideas on how i can modify this so that i can re-order rows. So that i can give the user the option of selecting a row and then pressing a up or down icon to move the row up or down</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Mats</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:51</id>
    <published>2006-02-06T02:39:12Z</published>
    <updated>2006-02-06T02:39:12Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Mats</title>
<content type="html">Nice widget! Have you tought of how to combine this with a paging utility? Mats</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Ron Savage</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:50</id>
    <published>2005-10-19T08:37:45Z</published>
    <updated>2005-10-19T08:37:45Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Ron Savage</title>
<content type="html">See also CGI::Explorer at http://search.cpan.org/~rsavage/CGI-Explorer-2.05/</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>wiser</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:49</id>
    <published>2005-09-21T09:32:06Z</published>
    <updated>2005-09-21T09:32:06Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by wiser</title>
<content type="html">Bojan, thanks for the response. I have tried a couple of alternatives: 1). calliing js function to initialize all rows to collapsed. This is fairly slow, since I have roughly a thousand rows that may or may not have children. 2) I have set the &quot;display:none&quot; when creating a row, but as you stated below, the rowstate is held in the treetable_rowstate global variable, as expanded, so it takes mulitple clicks to visually expand. I am still working on the default collapse, and will respond with a solution when have a chance. Thanks, wiser</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan Mihela?&amp;#65533;</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:48</id>
    <published>2005-09-21T09:05:54Z</published>
    <updated>2005-09-21T09:05:54Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan Mihela?&amp;#65533;</title>
<content type="html">Set style on desired rows to  style=&quot;display:none;&quot; is problematic as that does not describe row state entirely (imagine when you click on collapse all on root record, all children records are still expanded even if they are not displayed). Specific row's states are saved in treetable_rowstate global variable.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan Mihela?&amp;#65533;</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:47</id>
    <published>2005-09-21T09:00:48Z</published>
    <updated>2005-09-21T09:00:48Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan Mihela?&amp;#65533;</title>
<content type="html">Wiser, treetable can be set to collapsed state on many ways, some are:
- put treetable_collapseAll('table1'); in body onload method
- write additional javascript function that would open and close table to the specific level</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>wiser</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:46</id>
    <published>2005-09-20T09:58:06Z</published>
    <updated>2005-09-20T09:58:06Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by wiser</title>
<content type="html">How can the treetable be set to a collapsed state on default? Excellent javascript utility!</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Brad</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:45</id>
    <published>2005-08-29T10:17:42Z</published>
    <updated>2005-08-29T10:17:42Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Brad</title>
<content type="html">Is there a way to set the treetable to default, to a collapsed state? I.E. -&gt; Upon visiting the page, I would prefer to have level 0, and level 1 visible in the heirarchy, and have the level 2 and lower children defaulted to a hidden state. As I see the script now, the script always starts out in a fully expanded state. Thoughts?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Bojan Mihela?&amp;#65533;</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:44</id>
    <published>2005-08-16T06:32:06Z</published>
    <updated>2005-08-16T06:32:06Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Bojan Mihela?&amp;#65533;</title>
<content type="html">Sorting can be acomplished, but table should be sorted by ROW id first. As ROW id's are composed as paths of element position in tree (0, 0_0, 0_1, 0_1_0 etc) sorting them and thus upgrading some existing script for table sorting should not be a big deal.</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Jeff</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:43</id>
    <published>2005-08-13T03:45:54Z</published>
    <updated>2005-08-13T03:45:54Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Jeff</title>
<content type="html">Any ideas on how to sort the column data?</content>  </entry>
  <entry xml:base="http://source.mihelac.org/">
    <author>
      <name>Zed</name>
    </author>
    <id>tag:source.mihelac.org,2005-07-28:14:42</id>
    <published>2005-08-09T08:46:43Z</published>
    <updated>2005-08-09T08:46:43Z</updated>
    <link href="http://source.mihelac.org/2005/7/28/html-treetable" rel="alternate" type="text/html"/>
    <title>Comment on 'HTML Treetable' by Zed</title>
<content type="html">That's interesting idea. I wonder if it is possible and how many work would be to implement HTML Treetable using AJAX for loading data from server asynchronously.</content>  </entry>
</feed>
