<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: YUI Tutorial: Subclassing DataTable to Create DataView</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2007/04/23/dataview/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2007/04/23/dataview/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Sheetal</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-596668</link>
		<dc:creator>Sheetal</dc:creator>
		<pubDate>Wed, 22 Dec 2010 11:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-596668</guid>
		<description>Show/hide columns does not work with draggableColumns config property of DataTable.

Once the columns are dragged away to other position the context menu does not appear.

Please add draggable columns feature too.</description>
		<content:encoded><![CDATA[<p>Show/hide columns does not work with draggableColumns config property of DataTable.</p>
<p>Once the columns are dragged away to other position the context menu does not appear.</p>
<p>Please add draggable columns feature too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-581410</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Thu, 16 Apr 2009 05:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-581410</guid>
		<description>I am facing the issue described by Andy on 23rd April 2007.After hiding a column,if I sort the datatable, the hidden column reappears with header cell missing.Victor says he has fixed the issue,so where can I find the fixed version.I am currently using 2.7 of YUI but my requirement is similar in which context menu should appear after clicking on header and user should be able to show hide column.So I need this desperately.

Thanks
Ashish</description>
		<content:encoded><![CDATA[<p>I am facing the issue described by Andy on 23rd April 2007.After hiding a column,if I sort the datatable, the hidden column reappears with header cell missing.Victor says he has fixed the issue,so where can I find the fixed version.I am currently using 2.7 of YUI but my requirement is similar in which context menu should appear after clicking on header and user should be able to show hide column.So I need this desperately.</p>
<p>Thanks<br />
Ashish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-504356</link>
		<dc:creator>Ram</dc:creator>
		<pubDate>Mon, 27 Oct 2008 20:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-504356</guid>
		<description>I am looking for YUI 2.6.0 compatible version. Client side row filtering is awesome functionality.
I dont know YUI 2.6.0 implemented that..

-Ram</description>
		<content:encoded><![CDATA[<p>I am looking for YUI 2.6.0 compatible version. Client side row filtering is awesome functionality.<br />
I dont know YUI 2.6.0 implemented that..</p>
<p>-Ram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludovic</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-438090</link>
		<dc:creator>Ludovic</dc:creator>
		<pubDate>Tue, 05 Aug 2008 21:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-438090</guid>
		<description>I replaced the initializeTable function with the following:

this.getRecordSet().replaceRecords(dataView)
this.render();

this works for filtering but if I try sorting the filtered rows, the rows disappear and it says no records found...</description>
		<content:encoded><![CDATA[<p>I replaced the initializeTable function with the following:</p>
<p>this.getRecordSet().replaceRecords(dataView)<br />
this.render();</p>
<p>this works for filtering but if I try sorting the filtered rows, the rows disappear and it says no records found&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christjan</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-316440</link>
		<dc:creator>Christjan</dc:creator>
		<pubDate>Tue, 04 Mar 2008 08:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-316440</guid>
		<description>About using it in 2.5.0 I discovered that the initializeTable function now takes no data object as parameter and there&#039;s no adding the data to recordset as it was in previous versions.

I changed the function as following to use filtering in my 2.5.0 datatable:

&lt;code&gt;
initializeTable : function(oData) {
    // Reset init flag
    this._bInit = true;
    
    // Clear the RecordSet
    this._oRecordSet.reset();

    // adds data to recordset (missing in 2.5.0) 
    var records = this._oRecordSet.addRecords(oData);

    // Clear selections
    this._unselectAllTrEls();
    this._unselectAllTdEls();
    this._aSelections = null;
    this._oAnchorRecord = null;
    this._oAnchorCell = null;
    
    // refresh the view (missing in 2.5.0)
    this.render();

},
&lt;/code&gt;

May be someone has a solution for using filtering without modifying original YUI class?</description>
		<content:encoded><![CDATA[<p>About using it in 2.5.0 I discovered that the initializeTable function now takes no data object as parameter and there&#8217;s no adding the data to recordset as it was in previous versions.</p>
<p>I changed the function as following to use filtering in my 2.5.0 datatable:</p>
<p><code><br />
initializeTable : function(oData) {<br />
    // Reset init flag<br />
    this._bInit = true;</p>
<p>    // Clear the RecordSet<br />
    this._oRecordSet.reset();</p>
<p>    // adds data to recordset (missing in 2.5.0)<br />
    var records = this._oRecordSet.addRecords(oData);</p>
<p>    // Clear selections<br />
    this._unselectAllTrEls();<br />
    this._unselectAllTdEls();<br />
    this._aSelections = null;<br />
    this._oAnchorRecord = null;<br />
    this._oAnchorCell = null;</p>
<p>    // refresh the view (missing in 2.5.0)<br />
    this.render();</p>
<p>},<br />
</code></p>
<p>May be someone has a solution for using filtering without modifying original YUI class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-314113</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Fri, 29 Feb 2008 20:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-314113</guid>
		<description>Yesterday, I tried upgrading yui to 2.5.0 and discovered that my beloved DataView would no longer work.  I understand the column hiding functions are now built in, but I don&#039;t use those.  All I care about is the filtering.

And, it&#039;s filtering that no longer works in 2.5.  At least on my application, which uses a progressively enhanced table for data.

I&#039;ve been working with the code, and found that the filtering does find the data. And, it does push it into the data structure.  But, it never replaces the original table with the filtered one.

For the life of me, I can&#039;t figure out how to filter progressively enhanced tables without this class.  Can somebody please help me to figure out how to get this working with the latest YUI?

Amy</description>
		<content:encoded><![CDATA[<p>Yesterday, I tried upgrading yui to 2.5.0 and discovered that my beloved DataView would no longer work.  I understand the column hiding functions are now built in, but I don&#8217;t use those.  All I care about is the filtering.</p>
<p>And, it&#8217;s filtering that no longer works in 2.5.  At least on my application, which uses a progressively enhanced table for data.</p>
<p>I&#8217;ve been working with the code, and found that the filtering does find the data. And, it does push it into the data structure.  But, it never replaces the original table with the filtered one.</p>
<p>For the life of me, I can&#8217;t figure out how to filter progressively enhanced tables without this class.  Can somebody please help me to figure out how to get this working with the latest YUI?</p>
<p>Amy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Morales</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-300125</link>
		<dc:creator>Victor Morales</dc:creator>
		<pubDate>Thu, 07 Feb 2008 20:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-300125</guid>
		<description>@Pablo

The next YUI version (2.5.0) will support hiding columns, so this subclass will be mostly obsolete.

Regarding your question about internationalization, you would need to specify the columns server-side. You can take a look at this example by Satyam:
http://satyam.com.ar/yui/#ServerDriven</description>
		<content:encoded><![CDATA[<p>@Pablo</p>
<p>The next YUI version (2.5.0) will support hiding columns, so this subclass will be mostly obsolete.</p>
<p>Regarding your question about internationalization, you would need to specify the columns server-side. You can take a look at this example by Satyam:<br />
<a href="http://satyam.com.ar/yui/#ServerDriven" rel="nofollow">http://satyam.com.ar/yui/#ServerDriven</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-299806</link>
		<dc:creator>Pablo</dc:creator>
		<pubDate>Thu, 07 Feb 2008 10:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-299806</guid>
		<description>Hi!

How can I internacionalize the columns&#039;s label?

I´m using Struts2 and have a messages file, but I can´t access it from javascript.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>How can I internacionalize the columns&#8217;s label?</p>
<p>I´m using Struts2 and have a messages file, but I can´t access it from javascript.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-263456</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 21 Dec 2007 18:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-263456</guid>
		<description>Has anyone gotten this to work with 2.4.1

I am seeing: 

YAHOO.lang.extend failed, please check that all dependencies are included.

And applying a filter in the second example does not work but provides no error. It appears that in the Filter function, this line: 

field=this.getRecord(i).getData()[sColumnKey]

returns undefined.</description>
		<content:encoded><![CDATA[<p>Has anyone gotten this to work with 2.4.1</p>
<p>I am seeing: </p>
<p>YAHOO.lang.extend failed, please check that all dependencies are included.</p>
<p>And applying a filter in the second example does not work but provides no error. It appears that in the Filter function, this line: </p>
<p>field=this.getRecord(i).getData()[sColumnKey]</p>
<p>returns undefined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Papa</title>
		<link>http://www.yuiblog.com/blog/2007/04/23/dataview/comment-page-1/#comment-261662</link>
		<dc:creator>John Papa</dc:creator>
		<pubDate>Wed, 19 Dec 2007 03:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/04/23/dataview/#comment-261662</guid>
		<description>menuitem_checked_*.png files in the 2.4.0/build/menu/assets directory do not match the menu.css references to menuitem_checkbox_*.png files.

As a result the check graphic in the context menu do not show.  When the files and references are made consistent the menu looks as it should.</description>
		<content:encoded><![CDATA[<p>menuitem_checked_*.png files in the 2.4.0/build/menu/assets directory do not match the menu.css references to menuitem_checkbox_*.png files.</p>
<p>As a result the check graphic in the context menu do not show.  When the files and references are made consistent the menu looks as it should.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

