Table View

Add Button (Table View)

PreviewDefaultCodeParametersMore // file: hooks/patients-tv.js jQuery(function () { var tv = new AppGiniTableView(); tv.addButton(function (id) { alert("User clicked #" + id); }, "flash", "My function"); // "flash" is the name of the glyphicon // "My function" is the button text }); TippInstead of executing Javascript function you can also add links. See here. Syntax new AppGiniTableView().addButton(callback,...

Read more ...

Was this helpful?