0

私は YUI 3.5 を学んでおり、フォーマッターを使用して VAT 列と Total 列を計算しました。(以下の jsfiddle を参照してください)。

ただし、それらの並べ替えは機能しません。データの視覚的表現を作成しているためだと思いますが、その下に基になるデータはありません。並べ替えが機能するように計算列を作成する適切な方法は何ですか?

http://jsfiddle.net/zWk54/1/

4

1 に答える 1

0

IRC freenode #yui チャンネルで返信が来ました

<Tew> stivlo - http://jsfiddle.net/zWk54/2/  is how I'd do it.
<Tew> (using getter in recordType; just in case someone wants to comment on 
      that but is not tempted to click)
<Tew> stivlo - the examples are linked on top right-hand side,
      http://yuilibrary.com/yui/docs/datatable/datatable-recordtype.html 
     (Sortable generated columns).  In case you have some comment on 
     documentation, we(?)'d appreciate it (it's "that week", it seems).

リンク: http://jsfiddle.net/zWk54/2/および http://yuilibrary.com/yui/docs/datatable/datatable-recordtype.html

于 2012-05-19T16:23:41.650 に答える