> - Write a custom grid cell editor for use with Enum columns. When editing such > a column, the user should be presented with a combobox containing the enum > values to choose from.
new class had been defined with import module: class pgGridCellChioceEditor : public wxGridCellChoiceEditor { public: void Clear() { m_choices.Empty(); } void SetItems(const wxArrayString& items) { m_choices = items; } int Append(const wxString& item) { m_choices.Add(item); return m_choices.Count()-1; } }; It's really simple, just for easy to be operated. I did yesterday, without test. ----------------------------------------------- Quan Zongliang quanzongli...@gmail.com CIT Japan: http://www.cit.co.jp CIT China: http://www.citbj.com.cn -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers