Skip to content

Anonymous

My feedback

1 result found

  1. 5 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  General  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Anonymous commented  · 

    I just noticed ... you would use "one:one;two:two;three:three" as third parameter to 'set_col_edittype() '. Is this intuitive? I guess so.

    An error occurred while saving the comment
    Anonymous commented  · 

    That's right and "SHOW COLUMNS FROM {$table} WHERE Field = '{$field}'" together with "preg_match('/^enum\((.*)\)$/', $type, $matches);" might help here.

    For the time being... How would use 'set_col_edittype()' exactly if I want to refelct aa enum of, say, ('one','two','three')? The initial value of the enum field is also not shown in the Grid when loaded in connection with the usage of 'set_col_edittype()', at least not for me here.

Feedback and Knowledge Base