DeaDSouL

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Author
    Replies
  • in reply to: how to pass the row’s id to Ajaxify #84070
    DeaDSouL
    Participant

    i really tried the aleart for the id to see if it works or not.. actually it is working..

    but guys i'm not expert with js or jq or jqG or ajaxify..

    i tried many many times to make work..

    in reply to: how to pass the row’s id to Ajaxify #84049
    DeaDSouL
    Participant

    please check this out http://max.jsrhost.com/2008/10/03/ajaxify-support/#comment-36

    it could be helpful to you.. so you can get a clear vision on the problem..

    please.. guys.. i don't know what to do…

    thanks a lot

    in reply to: how to pass the row’s id to Ajaxify #84045
    DeaDSouL
    Participant

    but i think selectRow is working fine and so ajaxify..

    my only problem i don't know how to combine them together

    if anyone expert with javascript, please help me out

    thanks a lot guys

    in reply to: how to pass the row’s id to Ajaxify #84042
    DeaDSouL
    Participant

    hi again guys, the reason of making jqGrid doesn't work at all when i add that function was the “” because when i copy it i just paste it into the file without noticing it changed..

    anyway. now the problem is everything works fine exept ajaxify, because it seems that its being called once the page is loaded not once i click the link.

    i mean. because of

    link: '?option=modify&oper=edit&id='+ getDsId(),

    so ajaxify calls getDsId() once the page is loaded so i made this code.. and it works, the only problem is the ajaxify doesn't work from the first click so i have to click twice

    one click to select the row
    and two click on edit link

    and here is the code..

    jQuery(document).ready(function(){

    in reply to: how to pass the row’s id to Ajaxify #84033
    DeaDSouL
    Participant

    do you mean like this?

    jQuery(document).ready(function(){

    in reply to: how to pass the row’s id to Ajaxify #84022
    DeaDSouL
    Participant

    hi Tony

    “What are all the parameters of ajaxify?”

    Option Value Default Note
    event blur, focus, load, resize, scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error click
    link string false link to the page that are going to be loaded (instead of href)
    target jQuery selector body you can use any method of jquery selection: #id, .class, element …
    method string ( GET, POST, PUT, DELETE) GET (PUT, DELETE are not supported by all browsers)
    tagToload jQuery selector false See examples about this option.
    loading_image string /ajaxify/loading.gif Path to the loading image
    loadHash boolean false See examples about this option.
    params string ajax=true you may need to check if the visitor loaded this page via ajax or not.
    timeout number false in ms. there is a bug in this option on linux servers
    contentType string application/x-www-form-urlencoded it depends on loaded data. don’t change it if you dont know what it is.
    dataType string html
    cache boolean false control the browser to cache data or not.
    username string false A usename to be used in response to an HTTP access authentication request.
    password string false A password to be used in response to an HTTP access authentication request.
    onStart function false A pre-callback to modify the XMLHttpRequest object before it is sent
    onError function false A function to be called if the request fails.
    onSuccess function false A function to be called if the request succeeds
    onComplete function false A function to be called when the request finishes (after success and error callbacks are executed)

    more info: http://max.jsrhost.com/ajaxify-jquery-plugin/

    “Can you add a function to the link parameter?”

    I'm not that expert with ajaxify or js.

    “What you mean with grid does not work?”

    the grid is working fine till i add this function in between

    function getDsId() {

    in reply to: how to pass the row’s id to Ajaxify #83985
    DeaDSouL
    Participant

    everything is working fine

    but once i add this lines

    function getDsId() {

    in reply to: how to pass the row’s id to Ajaxify #83983
    DeaDSouL
    Participant

    when i past the code you gave me..

    the grid doesn't want to appeare anymore..

    i really do appreciate your help..

    but the problem is still there..

    anyone could help me out?

    thanks again

    in reply to: how to pass the row’s id to Ajaxify #83982
    DeaDSouL
    Participant

    thanks a lot YamilBracho

    I'll try it right now

    in reply to: how to pass the row’s id to Ajaxify #83974
    DeaDSouL
    Participant

    hi again..

    just wanted to up this post

    any idea is appreciated

    thanks

    in reply to: question about the select menu in the edit section #83316
    DeaDSouL
    Participant

    Loool guys..

    it was my mistak.. all the rows was stroed with the -1.. and i thought there was something wrong with the jqgrid..

    thanks a lot guys… 😀

    in reply to: question about the select menu in the edit section #83315
    DeaDSouL
    Participant

    I wrote my codes but I don't know why it didn't appeare…

    in reply to: question about the select menu in the edit section #83314
    DeaDSouL
    Participant

    Hi guys..

    let me try to explain with my source..

    This is my html code:



    in reply to: question about the select menu in the edit section #83303
    DeaDSouL
    Participant

    hi garnett21,

    Well, I can show the selected values in the grid. but my question was,

    when I click on edit the row. it gives me the available editable inputs and when it comes to the select menu. it shows the first option as selected option instead of the real selected option which has been stored in the database.
    So, how can I let it shows the selected option in the edit pop-up form ?

    I hope you understand what I was trying to say..

    thanks a lot.

    DeaDSouL
    Participant

    I see..

    Thanks a lot brother

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

Stay connected with us in your favorite flavor!