 Anonymous
Anonymous
    
          
          
        My feedback
1 result found
- 
5 votesAn error occurred while saving the comment An error occurred while saving the comment  Anonymous
    
 commented Anonymous
    
 commentedThat'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. 
 
          
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.