cristallium edited a comment on issue #519: SDK 0.9.6 
<js:DataGridPercentageView/> bead work only on header DataGrid, not on cells
URL: https://github.com/apache/royale-asjs/issues/519#issuecomment-543620235
 
 
   Hi Carlos,
   Thanks for your comments. ~~I think the bug is easy to fix, as describled in 
my previous post~~.
   
   ~~The bead override **handleInitComplete** function and discard **width** 
style to set **percentwidth**~~
   
   ~~Unfortunaly to discard **width** style the following line doesn't work 
because of **setWidth** in **BaseUI** doesn't handle **NaN** value.~~ 
   
   ~~` list.width = NaN; ` // <= doesn' work~~
   
   ~~If modfify this function (setWidth  in BaseUI.as) to handle **NaN** then 
it should be working~~
   
   ~~`this.positioner.style.width = value.toString() + 'px'; ` //must be 
replace by something like~~
   
   By the way I wanted to try to patch SDK but I don't know how to build it. I 
read some docs on it. Do you know the easier method (maven or ant) ?
   
   **[UPDATE]** : the issue must be that in function **handleInitComplete** 
(DataGridPercentageView) the line 
    `dgButtonBar.dispatchEvent(new 
org.apache.royale.events.Event("layoutNeeded"));` trigger header layout 
refresh, but not the DataGridColumns layout.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to