Do not work flexReload

203 views
Skip to first unread message

WitNt2000

unread,
Apr 8, 2012, 11:58:22 PM4/8/12
to Flexigrid for jQuery
Good day, everybody! I have handler of button in flexgrid. Here it's.
function OpenTrack(com, grid) {
$('.trSelected', grid).each(function(){
var id = $(this).attr('id');
var idTrack = id.substring(id.lastIndexOf('row')+3);
$.get("rwc_ajax.php", { rwc_state: "rwc_track_open", track:
idTrack }, function(){
$(grid).flexReload();
});
});
}

The problem is that it does not send the update request. And so the
information in the table is not updated. What am I doing wrong?

WitNt2000

unread,
Apr 23, 2012, 5:49:11 AM4/23/12
to Flexigrid for jQuery
I need a answer very much. In my page there are two div with class
flexigrid. And I do not know in advance the table ID. How can I reload
a data from buttons handler?

For example, this is my handler of button:

function OpenTrack(com, grid) {
$(grid).flexReload();
}

Is this code correct? I ask this question because the POST-requests do
not go to the server.Why is this happening? It is unclear for me.
Reply all
Reply to author
Forward
0 new messages