foex-open-source / fos-interactive-grid-add-button

MIT License
9 stars 2 forks source link

fostr is not defined #14

Open samathadev opened 11 months ago

samathadev commented 11 months ago

After adding Fos Integrative Grid Add button button and trying to use below javascript code for the button .

// an actual event listener is for this example not relevant var selCount = this.data.region.call('getSelectedRecords').length;

fostr.success({ title: "Update ${selCount} Row${selCount != 1 ? 's' : ''}" clicked!, dismissAfter: 5000 }); ![Uploading Screenshot 2023-12-15 180149.png…]()

the Javascript is throwing error like fostr is not defined.