jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • vn_jqxfan
    Participant

    Thank because of the answer! Keymaster!
    I am the work according to guide and created Nodes “Delete Row”.
    Below part initialize div jqxgrid. Added codes Command process “deleterow” but not work.

    1.renderer “Delete Row” button:

    var renderer = function (id) {
                    return '<input type="button" onClick="buttonclick(event)" class="gridButton" id="btn' + id + '" value="Delete Row"/>'
                }

    2. Script method ‘deleterow’

    <div id="jqxgrid">
        </div>
        <script type="text/javascript">        
            var buttonclick = function (event) {
                var id = event.target.id;
                $("#jqxgrid").jqxGrid('deleterow', id);
            }
        </script>

    Thanks you!

Viewing 1 post (of 1 total)