Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Please Help .. Subgrid enable/disable+ button ..suggestion for a better way

UserPost

13:52
07/05/2012


berus

Member

posts 15

Post edited 14:00 – 07/05/2012 by berus
Post edited 17:33 – 07/05/2012 by berus


Hello Tony,

thanks for your work.

for the firt time I tried to work with subgrid.


edited — solution found


17:39
07/05/2012


berus

Member

posts 15

Post edited 17:39 – 07/05/2012 by berus
Post edited 19:42 – 07/05/2012 by berus


hello again ,

I edit the first post because I found  how to use subGridBeforeExpand with $ajax sync mode. May be there is a better solutions ?

subGridBeforeExpand: function(subgrid_id, row_id){
        var subgrid_table_id ;
        var ceono=true;
        var rigadati=jQuery("#listino").jqGrid('getRowData',row_id);
        var scriptUrl="asp/alternativi.asp?q=2&Articolo="+rigadati.Articolo
        $.ajax({
            url: scriptUrl,
            type: 'get',
            dataType: 'html',
            async: false,
            success: function(data) {
                if (data=="false")
                ceono = false;
            }
             });

  
        return ceono
        
     }

17:55
08/05/2012


berus

Member

posts 15

Please admin ..delete this post .. useless


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

30 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9596

Posts: 28792

Membership:

There are 10195 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7010 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information