jQWidgets Forums

jQuery UI Widgets Forums Grid Button at bottom of nested grid

This topic contains 17 replies, has 2 voices, and was last updated by  Hristo 7 years, 5 months ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
  • Button at bottom of nested grid #97055

    rkamarowski
    Participant

    Got it! Thank you for your patience.

    Bob K.

    Button at bottom of nested grid #97414

    rkamarowski
    Participant

    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]);*/
                                        }
                                    );
    Button at bottom of nested grid #97451

    Hristo
    Participant

    Hello Bob K.,

    I assume that this case has been resolved?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.