Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: DatePicker in Grid - Wrong Element/Format?

$
0
0

Hi Jean-Luc,

 

for displaying use a Text control and a data typr or formatter. In this JSBin see the second row with Label "Birthday 2" for an example.

If you use the DatePicker with editable ? "false" the label and the DatePicker are rendered at the top of the row and cause the DatePicker is higher than the label it does not look perfect.

 

So the trick is:

 

<Text text="{path: '/Birthday', type: 'sap.ui.model.type.Date'}">           <layoutData>                <l:GridData span="L5 M10 S7"/>           </layoutData>  </Text>

 

JS Bin on jsbin.com

 

Regards Helmut


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>