0

I moved from SDK 0.9.7 to SDK 0.9.8#2556 to be "up to date". It seems that rowHeight property on Jewel Datagrid is no longuer available. I didn't find how to set default row height. (I want all my row having 64 pixels height).

Does I need a bead or add an itemrenderer to set an height ?

Any help would be apprecied

Regards

Fred
  • 399
  • 3
  • 12

1 Answers1

1

We removed APIs from TLC components that are available in PresentationModels to avoid duplicating APIs and add extra size.

This is an example from Tour De Jewel that uses rowHeigh` in DataGridPresentationModel:

<j:DataGrid localId="dg4" height="205"
    change="dataGridChange(event.target as DataGrid, lb4)"
    dataProvider="{productModel.productList}">
    <j:columns>
        <j:DataGridColumn label="Images" dataField="image" columnWidth="100" 
                        itemRenderer="itemRenderers.ImageDataGridItemRenderer"/>
        <j:DataGridColumn label="Title" dataField="title" columnWidth="140"/>
        <j:DataGridColumn label="Sales" dataField="sales" columnWidth="80" align="right"/>
    </j:columns>
    <j:beads>
        <j:DataGridPresentationModel rowHeight="54"/>
    </j:beads>
</j:DataGrid>
Carlos Rovira
  • 507
  • 2
  • 11