diff options
Diffstat (limited to 'editors/InType/Prado.itBundle/snippets/grid.itSnippet')
-rw-r--r-- | editors/InType/Prado.itBundle/snippets/grid.itSnippet | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/InType/Prado.itBundle/snippets/grid.itSnippet b/editors/InType/Prado.itBundle/snippets/grid.itSnippet new file mode 100644 index 00000000..7f2bd7dc --- /dev/null +++ b/editors/InType/Prado.itBundle/snippets/grid.itSnippet @@ -0,0 +1,17 @@ +{ + title: 'Data Grid' + tab_trigger: 'grid' + scope: 'text.html.prado' + content: '<com:TDataGrid ID="${1:datalist}"${2: + DataKeyField="${3:id}"} + AutoGenerateColumns="${4:false}" + AllowSorting="${5:false}" + AllowPaging="${6:false}" + OnItemCreated="${7:$1_OnItemCreated}" + OnEditCommand="${8:$1_OnEdit}" + OnCancelCommand="${9:$1_OnCancel}" + OnUpdateCommand="${10:$1_OnUpdate}" + OnDeleteCommand="${11:$1_OnDelete}"> + $0 +</com:TDataGrid>' +}
\ No newline at end of file |