0 Replies Latest reply on Jun 1, 2009 11:18 AM by DHTVP

    htmlText & XML.prettyPrinting/ignoreWhitespace issue

    DHTVP

      i have a module that has a tree component, a advanceddatagrid and a textarea.

      you select an item from the tree to populate the advanceddatagrid and then you select an item from the advanceddatagrid to populate the textarea.

       

      problem:

      the textarea uses htmlText (which is stored in a table on the DB), but for it to display correctly, I need to set XML.prettyPrinting = false and XML.ignoreWhitespace = false.  But then, the tree and advanceddatagrid look at weird with empty nodes (that didnt exist before).

       

      so im stuck with either having my text look correctly in my textarea or having the tree and advanceddatagrid look correct...there must be something im doing wrong.

       

      any help would be awesome!

      thanks