Skip to content

Commit

Permalink
Add livePreview flag to toolbar dialog addon
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkh committed Mar 31, 2020
1 parent 08c6b27 commit 9a97a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/custom_column.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
b.registerToolbarDialogAddon('myGroupAddon', {
title: 'Group by the X first characters',
order: 1,
livePreview: true, // optional, default = false
append(col, node, dialog, ctx) {
const val = col.firstN;
node.insertAdjacentHTML('beforeend', `
Expand Down

0 comments on commit 9a97a80

Please sign in to comment.