phicarre

Forum Replies Created

Viewing 15 replies - 46 through 60 (of 78 total)
  • Author
    Replies
  • in reply to: populate photo from a db to a grid #91003
    phicarre
    Participant

    For those who are looking for the/one solution:

    afterInsertRow: function(rowid, aData, rowelem){

    in reply to: setcell gives an error #90977
    phicarre
    Participant

    No effect, neither

    jQuery(”#tr_nom″, formid).css({'background-color':'red'});

    in reply to: server error with json_encode #90970
    phicarre
    Participant

    I don't understand sorry Embarassed

    xml node for a json encoded answer : what is it ?

    PHP side: what can I use for sending a message to the client: echo “hello” and read with xhr.responseText OR json_encode ?

    in reply to: How to fill a dynamic select from json_encoded data ? #90969
    phicarre
    Participant

    Why value” ? wrong html for you ?

    in reply to: auto reload grid/cells #90943
    phicarre
    Participant

    I also use this method

    setInterval(function(){jQuery(”#list1″).trigger(”reloadGrid”);}, 5000);

    but I “see” the refresh, I mean the grid is flashing at each refresh. Normally with ajax I should not see this “flash”.

    Did you set an appropriated property ?

    in reply to: Bugs. bugs and more bugs HELP!!!! #90937
    phicarre
    Participant

    Did you generate correctly your package before downloading ?

    in reply to: 100% single column in grid #90928
    phicarre
    Participant

    Yes, put this value to zero.

    For me, after that, I have an horizontal scrollbar Frown

    in reply to: How to fill a dynamic select from json_encoded data ? #90927
    phicarre
    Participant

    I found myself:

    “value1:value1;value2:value2;value3:value3″

    but in my select I see

    value1

    value2

    value3″

    I look for the data like this:

    var manufacturers= $.ajax(

    in reply to: server error with json_encode #90920
    phicarre
    Participant

    Is Loaderror compatible with json_encode ? I don't think so.

    If the server is written in PHP, I cannot use the echo function for signalling an error ?

    in reply to: setcell gives an error #90919
    phicarre
    Participant

    yes, I was blind.

    The cell of the grid has the background in red (I don't want that) and the cell in the form has not the background in red (I want that). I tried rowid instead of gr but it's

    in reply to: visible but not editable in a edit record form #90872
    phicarre
    Participant

    Yeah !!!

    One time in the navigator (add):

    recreateForm:true,

    beforeInitData: function (formid){jQuery(“#list1”).setColProp('nom', {editoptions:{readonly:false}}); } ,

    One time in the Grid:

    jQuery(“#list1”).editGridRow(gr,
    {

    recreateForm:true,
    beforeInitData: function (formid){jQuery(“#list1”).setColProp('nom', {editoptions:{readonly:true}});

    in reply to: visible but not editable in a edit record form #90871
    phicarre
    Participant

    When you say onBeforeInit you mean beforeInitData …

    This event occurs when I click the + but not when I click on the row !

    For the time beeing I don't see how to change (to address) one of the proprietes of one raw: colModel.index or something like that ?

    in reply to: visible but not editable in a edit record form #90868
    phicarre
    Participant

    I think that my question is not well formulated or I didn't understand your answer.

    (for set/clear attribute: ok)

    I have a grid. When I click on one row, a form is displayed for modification/edit. In this case I protect one field with “readonly” as you suggested. I can change all fields excepted this one.

    In the pager, I use the “+” for the creation. When I click on it, the same form is displayed BUT, in this case, I want to edit the field.

    but it's impossible because of the “readonly” !

    That's why I asked if we can have two forms !

    in reply to: visible but not editable in a edit record form #90861
    phicarre
    Participant

    I replied too quickly …

    because now I cannot create a record …

    In fact I must have two forms: one for the creation and one for the edition/modification.

    Is it possible to have different forms ?

    in reply to: visible but not editable in a edit record form #90860
    phicarre
    Participant

    YES ! very good.

    Now I must change the color in the form because I don't see the difference with the other fields.

    Thank you.

Viewing 15 replies - 46 through 60 (of 78 total)

Stay connected with us in your favorite flavor!