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-543382193 Here is to help you debug the SDK  In the **DataGridPercentageView** function **handleInitComplete** ~~if (!isNaN(dgc.columnWidth)) { list.width = NaN; // <= we set NaN to width but it doesn't work list.percentWidth = Number(colWidth); }~~ ~~I think the issue is here in **UIbase**.js~~ ~~org.apache.royale.core.UIBase.prototype.setWidth = function(value, noEvent) { // Enter in function with value = NaN noEvent = typeof noEvent !== 'undefined' ? noEvent : false; if (this.org_apache_royale_core_UIBase__width !== value) { this.org_apache_royale_core_UIBase__width = value; this.positioner.style.width = value.toString() + 'px'; // <== HERE when value = NaN this.positioner.style.width is unchanged if (!noEvent) this.dispatchEvent(new org.apache.royale.events.Event("widthChanged")); }~~ ~~I believe that in **UIbase** function **setWidth** , _this.positioner.style.width_ sould be set to NaN (or empty ?) and not value + "px" if value is NaN~~
---------------------------------------------------------------- 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
