Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Formatting in _cm_listView_header() method
Re: Formatting in _cm_listView_header() method [message #2431 is a reply to message #2430] Fri, 22 January 2010 11:50 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2370
Registered: April 2006
Location: Surrey, UK
Senior Member
I identified two possibilities in my previous post:
(1) Amend the $fieldspec entry so that the formatData() method will not swap the value with the representation.
(2) After reading the record but before the call to _cm_listView_header() or formatData() put a copy of the original value into the row data with another name. As this will not have an entry in the $fieldspec array it will not be reformatted.

If you need to work with the unformatted value but display the formatted value then I would go for option (2).


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDF Footer
Next Topic: Column Filter
Goto Forum:
  


Current Time: Tue Nov 26 20:26:40 EST 2024

Total time taken to generate the page: 0.01129 seconds