Welcome, Guest
  • Author Topic: Formatting Data in the DataGrid using PHP and the XMLConnector?  (Read 1031 times)

    Christopher R. Patrick

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Hello there everyone-

    This is my very first time posting, and I am a relative newcomer to Flash.  I was wondering if anyone can help me on this issue....

    I am using Flash MX Professional 2004 and currently have a DataGrid.  The contents of the datagrid are populated via a PHP script, which formats the XML, and reads into the DataGrid.  The DataGrid is populated without problem, but the issue I have is formatting the data within the grid.  The PHP script uses the urlencode method, to code non alphanumeric characters, and not present issues within my application.  In combo boxes and other areas of the application, I have written my own formatter to escape these characters.  Typically, I select the string I want to escape from the XMLConnector's schema, add a Custom Formatter, and link it to my class.  This does not seem to work on the XMLConnector for the DataGrid though...the data never is formatted.

    Is there a way to format data that is populated into a DataGrid, or am I doing something wrong in the above?

    Thanks in advance for any help at all.

    Chris

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Hi Christopher,
    you have to use the formater inside of the grid ;)
    happy flashing
    8)
    Ronald