change deprecated methods from GridPanel and EditorGridPanel