jQuery UI Widgets › Forums › Grid › Button at bottom of nested grid
Tagged: #jqwidgets-grid, Button, grid, javascript grid, jquery grid, nested
This topic contains 17 replies, has 2 voices, and was last updated by Hristo 7 years, 5 months ago.
Got it! Thank you for your patience.
Bob K.
I accidentally came across a way to accomplish my original idea. This adds a button above the status bar:
renderstatusbar: function (statusbar)
{
// appends buttons to the status bar.
var container = $("<div style='overflow: hidden; text-align: center; position: relative; margin: 5px;'></div>");
var addButton = $("<div style='align: center; vertical-align: middle;'><span style='position: relative; '>Add New Order</span></div>");
container.append(addButton);
statusbar.append(container);
addButton.jqxButton({ width: "98%", height: 20 });
/* add new row. */
addButton.click(function (event)
{
alert("new order");
/* var datarow = generatedata(1);
$("#jqxgrid").jqxGrid('addrow', null, datarow[0]);*/
}
);
Hello Bob K.,
I assume that this case has been resolved?
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
You must be logged in to reply to this topic.