Page 1 of 1

Missing 'static'/fixed fields in a DataGrid ?

Posted: Tue Sep 17, 2013 10:27 pm
by Traxgeek
Hi, (still struggling with DGs :( - though, it is getting better :) !!)

This one's been annoying me for over a week. I keep putting it down and going back to it but to no avail...

I have a DataGrid (in fact I have about a dozen of the things) and can generally / populate them with no issues :)

However, on two of the DGs my fixed / static / header fields refuse to display as they would normally do / do in all other DGs...
Explanation : I have a fixed content "Date : " label which simply displays the info / title / header of the data that follows and then I have the actual date "DD/MM/YYYY" label which is populated at runtime.

Date : 01/09/2013 --The colours are here just to emphasise that my DG comprises two fields - one with a field title / identifier / header (Date : ) and the other with the actual data (01/09/2013)

The data gets displayed every time :) but the header does not :( . I can see header text in the IDE but it simply gets removed in the DG at runtime.
If I put 'set the text of the field "lblHeader" to "Date : "' in the DG 'FillInData' Behaviour Script, then the Header data is displayed but if I leave this line out the Header field 'loses' its preset 'Contents' info (which, like I say is 'Date :' )

Not sure if this is 'just me' (some little feature (in script) I'm including by mistake ! ), something that happens from time-to-time because I've been copying and pasting fields between DGs, or whether I've simply missed something basic (again :oops: ) in the help files...

Any and all pointers will be gratefully received.

Re: Missing 'static'/fixed fields in a DataGrid ?

Posted: Wed Sep 18, 2013 6:41 am
by bangkok
Do you change -by script- something in your datagrid.... before to be on / to go to the card containing the datagrid ?

Me too, i was losing the header texts (label and / or column names) on one DG... I was setting some properties in openstack before to go/open the card containing the DG.

It's not possible.