Last post Aug 19, 2008 02:29 AM by mariuchp
Aug 18, 2008 06:27 AM|mariuchp|LINK
Hello. I'm beginer with mobile SDK, and I have a prblem. How to display only a few columns in ObjectList after click on details.
For example. I have table with 3 colums. ID, Name, Price. In mobile phone I see only one column eg. Name. I click on one item and I see details. Details show also item Name (label), and under label there is again row Name. How to delete this row, and show
only Id and Price rows?
But I wont:
Aug 19, 2008 12:21 AM|hi_bhavin_mail|LINK
Set AutoGenerateFields property of ObjectList to false and add fields tab manually in the code of ObjectList.
<mobile:ObjectList ID="CitiesList" Runat="server" CommandStyle-StyleReference="subcommand" LabelStyle-StyleReference="title"
<Field DataField="CityName" Title="City" />
<Field DataField="Condition" Title="Condition" />
<Field DataField="High" Title="High" />
Aug 19, 2008 02:29 AM|mariuchp|LINK
Thanks. But in detail list (when I click on City) still I will have City:"cityname", Condition:"condition" and Height:"height", but I wont only have Condition and Height because the name of City is a title.