roman1983

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: Formedit – how to set default value of select-field? #87403
    roman1983
    Participant

    Hi John,

    that is not exactly what i am looking for.

    for example:

    {
    name : 'status',
    index : 'status',
    width : 80,
    editable : true,
    edittype : "select",
    editoptions : {
    value:{0:'Rechnung offen',1:'Rechnung versendet',2:'Erste Mahnung',3:'Zweite Mahnung',9:'Bezahlt'}
    }

    And if have already added some items to my database. So figure out this entry:

    name: Peter Maffay | status: 3

    If i click on the row a want to edit this item, the editform opens but the status is set to “0”.

    in reply to: Formedit – how to set default value of select-field? #87397
    roman1983
    Participant

    hi!

    yes – for example my grid has a row: (1, customer 2, yes) and “yes” is a select-entry with [1:yes,0:no]

    if i edit a entry with the value “no” it is not selected in the form.

Viewing 2 replies - 1 through 2 (of 2 total)

Stay connected with us in your favorite flavor!