You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/02/26 12:45:21 UTC

[GitHub] [royale-asjs] javeiga-iest opened a new issue #735: Jewel DataGrid height not working

javeiga-iest opened a new issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735
 
 
   The height of the control is 240px by default and cannot be modified.
   
   In this example we set height to 600px:
   
   ```
   <j:DataGrid rowHeight="40" emphasis="primary"
   width="100%" height="600">
       <j:beads>
           <j:RemoveDataGridItemRendererForArrayListData/>
       </j:beads>
       <j:columns>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="70"/>                                                  
       </j:columns>
   </j:DataGrid>     
   ```
   Height remains at 240px:
   ![image](https://user-images.githubusercontent.com/55754204/75345001-1f360d80-589c-11ea-8f4b-e7753bc74762.png)
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] carlosrovira commented on issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735#issuecomment-593080502
 
 
   Hi Javier,
   I fixed % height on dg, but although is working, as you can see in TDJ example, I'll be not closing this issue since I'm not happy the way I did by using css calc function. Anyway, is working now, so is more an internal issue and any other fix will be transparent to you.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] javeiga-iest opened a new issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
javeiga-iest opened a new issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735
 
 
   The height of the control is 240px by default and cannot be modified.
   
   In this example we set height to 600px:
   
   ```
   <j:DataGrid rowHeight="40" emphasis="primary"
   width="100%" height="600">
       <j:beads>
           <j:RemoveDataGridItemRendererForArrayListData/>
       </j:beads>
       <j:columns>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="120"/>
           <j:DataGridColumn label="UNDEFINED" columnWidth="70"/>                                                  
       </j:columns>
   </j:DataGrid>     
   ```
   Height remains at 240px:
   ![image](https://user-images.githubusercontent.com/55754204/75345001-1f360d80-589c-11ea-8f4b-e7753bc74762.png)
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] javeiga-iest commented on issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
javeiga-iest commented on issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735#issuecomment-591911742
 
 
   Hi @carlosrovira , your change fixed a part of the issue.
   Same keeps happens with percentHeight and height="N%":
   
   ```
      <j:DataGrid localId="dgPersonal" rowHeight="40" emphasis="primary"
         dataProvider="{personalModel.personal_Asource}" percentHeight="100"
         width="100%">
            <j:beads>
               <j:RemoveDataGridItemRendererForArrayListData/>
            </j:beads>
            <j:columns>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="120"/>
               <j:DataGridColumn dataField="CODIGO" columnWidth="70"/>                                                  
            </j:columns>
         </j:DataGrid> 
   ```
   ![image](https://user-images.githubusercontent.com/55754204/75438402-2ae70a00-5958-11ea-8049-0587cbe45edd.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] carlosrovira commented on issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735#issuecomment-591465859
 
 
   Hi @piotrzarzycki21, I can reproduce the issue, no need more info, thanks. Going to fix it.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] piotrzarzycki21 commented on issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
piotrzarzycki21 commented on issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735#issuecomment-591410631
 
 
   You need to give us more context. Please attach to this issue full example where you reproduce that issue. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] carlosrovira closed issue #735: Jewel DataGrid height not working

Posted by GitBox <gi...@apache.org>.
carlosrovira closed issue #735: Jewel DataGrid height not working
URL: https://github.com/apache/royale-asjs/issues/735
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services