adytmro

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Author
    Replies
  • in reply to: Reload last grid state #94950
    adytmro
    Participant
    in reply to: Reload last grid state #94947
    adytmro
    Participant

    Update:

    I managed to load the grid with the data from the cookie like this:

    in reply to: Save state of grid #94912
    adytmro
    Participant

    Update:

    Cannot store gridParams into cookie.

    if u do:

    var state_grid

    in reply to: $.cookie is not a function #94910
    adytmro
    Participant

    You need to include jquery cookie plugin.

    Get it from here:

    in reply to: Save state of grid #94909
    adytmro
    Participant

    Hy,

    I have the same problem.

    The jqGrid.js is loaded. every js files are loaded, but still the same problem.

    :(( uncaught exception: jqGrid – No such method: [object Object] :((

    if ($.cookie(“gridState”)){

    in reply to: datepicker imageButton not appearing #89261
    adytmro
    Participant

    my yahoo messenger id is adytmro_wbc, if you want to instant talk with me.

    in reply to: datepicker imageButton not appearing #89260
    adytmro
    Participant

    Sorry for not beying able to do the grid.

    I;ve got lot of work to do …

    I have to do something like your grid today at work, but without date button (only date).

    If i will do it .. i will try to implement the date button to see if it works.

    I will post the code after i will do it.

    in reply to: Grid into thickbox… #89246
    adytmro
    Participant

    I have found the solution.

    i have changed:

    tb_show(“Selectati clientul”,”getclients.php?&height=600&width=700″);

    into:

    tb_show(“Selectati clientul”,”getclients.php?KeepThis=true&TB_iframe=true&height=600&width=700″);

    in reply to: datepicker imageButton not appearing #89231
    adytmro
    Participant

    i will try to code a grid with datepicker and buton in the morning.

    i will let you know if i managed to succesfully complete it.

    in reply to: Dynamic Select from url #89230
    adytmro
    Participant

    you have to do json_encode if your grid data type is json

    if it is xml then i think you can use echo

    anyway u didn;t understand what

    the wiki learned you 😛

    it says there that it constructs blablabla

    but in your js file you call for demo.php

    that should return an array of type

    ”FE:FedEx;IN:InTime;TN:TNT;AR:ARAMEX”

    In your case it will be: 1:valor 1, 2:valor2… etc

    read carefully the wiki… it is well written

    so you need to do as i wrote upper

    make the select

    execute it

    fetch the result into an array

    and echo it to js

    good luck

    in reply to: datepicker imageButton not appearing #89224
    adytmro
    Participant
    in reply to: datepicker imageButton not appearing #89208
    adytmro
    Participant

    http://www.blackstag.com/css/i…..lendar.gif it is ok

    but if u look with firebug …

    there are references to all the other pictures needed .. but no reference at calendar.gif.

    try to delete dateFormat and see if it does anything or try to delete size:8

    to see if there is something happening.

    The thing is that the script it is not calling the picture, even if u told it to.

    in reply to: Dynamic Select from url #89207
    adytmro
    Participant

    i think that demo.php would have to return the data in an established format.

    the format for select is:

    {name:'ship',index:'ship', width:90, editable: true,edittype:”select”,

    editoptions:{value:”FE:FedEx;IN:InTime;TN:TNT;AR:ARAMEX”}},

    this will construct:

    if u want to populate your select with data from database

    you need to:

    $sql = “select data from database”;

    $result = $mysql_query($sql);

    $arr = mysql_fetch_array($result);

    echo json_encode($arr);

    something like this

    Best regards,

    Adrian

    in reply to: how do I get the last selected iCol & iRow? #89204
    adytmro
    Participant

    What do you mean by iCol and iRow ?

    in reply to: datepicker imageButton not appearing #89202
    adytmro
    Participant

    have you tried

    buttonImage:'css/images/calendar.gif', ?

Viewing 15 replies - 1 through 15 (of 19 total)

Stay connected with us in your favorite flavor!