paulp

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: how do i get search to work #82046
    paulp
    Participant

    got it working perfectly now. brilliant. This is going to make things so much easier when chasing up old records. thank you so much

    in reply to: how do i get search to work #82041
    paulp
    Participant

    thanks for all the help. nearly there.
    I have it working, its just not putting the results into the grid when searching.
    I have checked the output of the php file, and got that part working, but for some reason it just doesnt put the new data in the grid.

    jQuery(document).ready(function(){
    jQuery(“#list”).jqGrid({
    url:’example.php’,
    datatype: ‘xml’,
    colNames:,
    colModel :[
    {name:’Ordersums_order_id’,index:’Ordersums_order_id’, width:120},
    {name:’Ordersums_time’,index:’Ordersums_time’, width:150},
    {name:’Ordersums_surname’,index:’Ordersums_surname’, width:150, align:’right’},
    {name:’Ordersums_postcode’,index:’Ordersums_postcode’, width:80, align:’right’},
    {name:’Ordersums_subtotal’,index:’Ordersums_subtotal’, width:80,align:’right’},
    {name:’Ordersums_status’,index:’Ordersums_status’, width:150, sortable:false} ],
    pager: jQuery(‘#pager’),
    height: 550,
    rowNum:20,
    rowList:[10,20,30,40,50,100],
    sortname: ‘Ordersums_order_id’,
    sortorder: “desc”,
    viewrecords: true,
    imgpath: ‘themes/basic/images’,
    multiselect: true ,
    caption: ‘Orders’,
    subGrid: true,
    editurl: ‘example.php’,
    subGridUrl : “grid-orderdetail.php”,
    subGridModel : [ {
    name: ,
    width : [55,200,80,80,80,80,80,80],
    params: }
    ]
    });
    $(“#bsdata”).click(function(){
    jQuery(“#list”).searchGrid( {modal:true} );
    });
    });

    in reply to: how do i get search to work #82039
    paulp
    Participant

    thanks very much for that.
    Got that part to work, but when i do the actual search now, it is not filtering the data,
    do I need to make changes to the php file for it to work.
    Do you have an example php file which works with search also.
    thanks so much. great script and great support.
    🙂

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!