Interactive Grid에서 제공하는 표준 기능을 아래와 같이 제어합니다. |
● Attributes > Advanced - Initialization JavaScript Function |
function(config) { config.initActions = function(actions) { actions.remove("single-row-view"); actions.remove("row-duplicate"); actions.remove("row-delete"); actions.remove("row-add-row"); actions.remove("row-refresh"); actions.remove("row-revert"); actions.remove("selection-delete"); actions.remove("selection-duplicate"); actions.remove("selection-revert"); actions.remove("selection-refresh"); actions.remove("selection-add-row"); actions.remove("selection-fill"); actions.remove("selection-clear"); actions.remove("selection-copy-down"); actions.remove("selection-copy"); }; return config; } |
function(config) { config.initActions = function(actions) { actions.remove("single-row-view"); actions.remove("row-duplicate"); //actions.remove("row-delete"); //actions.remove("row-add-row"); actions.remove("row-refresh"); //actions.remove("row-revert"); actions.remove("selection-delete"); actions.remove("selection-duplicate"); actions.remove("selection-revert"); actions.remove("selection-refresh"); actions.remove("selection-add-row"); actions.remove("selection-fill"); actions.remove("selection-clear"); actions.remove("selection-copy-down"); actions.remove("selection-copy"); }; return config; } |
Interactive Grid의 Action Menu 기능 테스트한 결과입니다. |