Skip to Content
avatar image
Former Member

Dropdown in table - NW Mobile 7.1

Hi ,

i have table that contains 3 columns.In table first 2 columns contain texts.in the 3 rd column i am using dropdown by key. I have mapped a simple type to the Drop Down by Key.i am getting values for first 2 columns .third column dropdown is empty.The Enumeration values not populated.Please suggest the way how to get the values in the Drop Down?.

Regards,

Raj.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 04, 2009 at 08:16 AM

    Hi,

    1.Create a seperate node for the Dropdown.

    2.Create an Attribute of type <SimpleType>.

    3.Bind it to the DDBK

    4.In the doInit write the code below.

    wdContext.node<nodeName>createAndAdd<nodeName>Element();

    Make sure you are using DDB key.

    Jithin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 04, 2009 at 08:33 AM

    Plz see the below thread for help

    how-insert-a-dropdown-in-a-table

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 19, 2009 at 05:22 AM

    Hi Kan..

    Firsltly you need to create simple type . go to Enumaration -put the Key/value

    then save it and built the appicatipon.key must be different..........

    your simple type mapped into your valueAttribute and thet Value attribute binding into coulumn(thid collumn as you did before...

    hope this will work fine now..

    thanks

    sudhir

    Add comment
    10|10000 characters needed characters exceeded