0

i add content in flexigrid directly ( see at Flexigrid loading data from local json object or Populate Flexigrid with an array or populate it by code )

and how can i edit the array that i was pushed in without via << $("#flex1").flexigrid({ url: >> function ?

4

1 に答える 1

0

DOMによる解決策を見つけました

https://groups.google.com/forum/?fromgroups=#!topic/flexigrid/0oRmeJRAnpc

function getSelectedRow() {
    var arrReturn        = [];
    $('.trSelected').each(function() {
            var arrRow                = [];
            $(this).find('div').each(function() {
                    arrRow.push( $(this).html() );
            });
            arrReturn.push(arrRow);
    });
    return arrReturn; 

配列として読み取る

于 2012-12-19T09:44:58.930 に答える