11-21-2012, 03:52 PM,
(This post was last modified: 11-21-2012, 03:54 PM by alchimiste.)
|
|||||
|
|||||
RE: Sort of RecordView
The TOTAL record should not be sorted for all columns. Users want to see the summary record such as TOTAL or AVERAGE. The summary record usually is located in the bottom of RecordView. I'm implementing this for the grid component, modified FastRecordGrid. The source code that I wrote: def rd = rv[rv.size - 1] || rv is RecordView set rv.sort = {proc {r1:Record, r2:Record}:int || I thnk this code is stupid... {if r1 == rd then {return 1}} || the rest of logics is omitted for explanation } |
|||||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Sort of RecordView - by alchimiste - 11-21-2012, 10:23 AM
RE: Sort of RecordView - by fukuta - 11-21-2012, 02:04 PM
RE: Sort of RecordView - by alchimiste - 11-21-2012, 03:52 PM
RE: Sort of RecordView - by ashimo - 11-21-2012, 02:23 PM
|
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
RecordView.batch-events? の効果がない | umemura | 1 | 2,666 |
12-10-2013, 03:28 PM Last Post: umemura |
Users browsing this thread:
3 Guest(s)
3 Guest(s)