jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts

  • darkelf
    Participant

    Hi;
    I can’t understand why but my problem resolved…
    I try to change $(“#gButceEdit”).jqxWindow({…’s ID name and my problem is gone. I think to I used to duplicate id. I searched my project. But its uniqe ID.
    My problem was gone. Thanks…


    darkelf
    Participant

    Thanks for fast reply. But this ID is apsent. And xxxxx not 1 ID. Give error too many ID.
    If I comment

          $("#gButceEdit").jqxWindow({
                            resizable: false,
                            width: 450,
                            height: 200,
                            autoOpen: false
                        });

    problem is gone, my code work perfect. Problem come to above code.


    darkelf
    Participant

    Aha;
    I found my mistake…
    I used in the addrow
    var data = "istek=insert&" + $.param(rowdata) + "&sozlesme_id="+ aktifSozlesme;
    But i cant define to aktifSozlesme;
    Thanks…


    darkelf
    Participant

    Hi;
    Thanks for your answers. I changed to mistake but not work 🙁

    I’m looking for any idea 🙁
    Thanks.

    in reply to: NestedGrid scroll problem… NestedGrid scroll problem… #65001

    darkelf
    Participant

    It’s work perfect.
    Thanks for your helps.

    in reply to: NestedGrid scroll problem… NestedGrid scroll problem… #64943

    darkelf
    Participant

    Hi;

    My nestedGrid source is:

                grid.jqxGrid({
                    columnsresize: true,
                    source: nestedGridAdapter ,
                    width: '%90',
                    height: 200,
                    columns: [
    .
    .
    .
    

    nestedGrid width is not number, but % value.
    My master grid source is:

        $("#calismaGrid").jqxGrid({
                width: '100%',
                source: calismaDataAdapter,
                columnsresize: true,
                groupable: true,
                rowdetails: true,
                rowsheight: 35,
                initrowdetails: initrowdetails,
                rowdetailstemplate: { rowdetails: "<div id='grid' style='margin: 10px;'></div>", rowdetailsheight: 150, rowdetailshidden: true },
                ready: function() {
    .
    .
    .
    
    

    Thanks.


    darkelf
    Participant

    Sorry my mistake.
    Nested grid working perfect.
    thanks


    darkelf
    Participant

    Ok my mistake. L solve my problem.
    L made a typo. I type field1 -> filed1

    Thanks.


    darkelf
    Participant

    Ok. I have progress in my code.

    I have two dropdown field. I need at least one field selected. I mean user must select field one, field two or field one + field two.
    My code is:

    { input: ‘#field1’, message: ‘Mandotory Field!’, action: ‘keyup, blur’, rule:
    function () {
    if ($(‘#field1’).val() > 0 || $(‘#field2’).val() > 0) { return true; } else { return false; }
    }
    },
    { input: ‘#field2’, message: ‘Mandotory Field!’, action: ‘keyup, blur’, rule:
    function () {
    if ($(‘#field1’).val() > 0 || $(‘#field2’).val() > 0) { return true; } else { return false; }
    }
    },

    I have’nt got any error after loading. But while using i got
    TypeError: c.offset(…) is undefined
    …var i=a(q.input);c=a(q.input);j.push(c);h=c.offset().top;if(e>h){e=h;g=c}}d–;if… jqxvalidator.js (line 7, col 1119)
    error.
    I trying to comment one block like this:

    /*
    { input: ‘#field1’, message: ‘Mandotory Field!’, action: ‘keyup, blur’, rule:
    function () {
    if ($(‘#field1’).val() > 0 || $(‘#field2’).val() > 0) { return true; } else { return false; }
    }
    },
    */
    { input: ‘#field2’, message: ‘Mandotory Field!’, action: ‘keyup, blur’, rule:
    function () {
    if ($(‘#field1’).val() > 0 || $(‘#field2’).val() > 0) { return true; } else { return false; }
    }
    },
    it’s work vell.
    Any idea of this stuation?
    thanks.

    in reply to: DDlist Reset problem. DDlist Reset problem. #62559

    darkelf
    Participant

    It’s work perfect.
    Thanks.

    in reply to: DDlist Reset problem. DDlist Reset problem. #61928

    darkelf
    Participant

    Hi;
    I think i want to simple. I want to unselect value programmatically. I use this code:

    $(‘#inputHKurulus’).jqxDropDownList({selectedIndex: -1}); // Unselect to value.

    DDListbox’s text changed to “Please Select” but value is not changed. It’s contains to last value. When i post the form i saw this…
    (When I’m inspect the page, i saw <input type=”hidden” value=”xxxx”/> xxx is last value of DDListbox. But DDListbox’s text is “Please Select” at this moment.)


    darkelf
    Participant

    Yes. This is great app. Thanks.

    in reply to: Problem with addrow Problem with addrow #59160

    darkelf
    Participant

    I found my mistake;
    I forgot a “,” sign when defining datafields on calismaDataSource.
    .
    .
    .

    { name: ‘asama’, type: ‘string’ },
    ],
    .
    .

    But error not view on the console. When delete “,” sign problem is fixed.
    Thank for your interesting.

    in reply to: Problem with addrow Problem with addrow #59140

    darkelf
    Participant

    Very insteresting. I try to add another grid on same button. I was success.

    $(document).off(‘click’, ‘#addCalismaBtn’).on(‘click’, ‘#addCalismaBtn’,
    function (event){
    // var commit = $(“#calismaGrid”).jqxGrid(‘addrow’, null, {});
    var commit = $(“#gorevGrid”).jqxGrid(‘addrow’, null, {});
    }
    );

    calismaGrid is not working, gorevGrid perfectly work. I’m looking for different two grid…

    in reply to: Problem with addrow Problem with addrow #59139

    darkelf
    Participant

    First of all thanks for your interesting. And sorry for my English.

    Your code is working perfect. But my code is not like different for your code. I looking for mistake. But i cant find…

    var commit = $(“#calismaGrid”).jqxGrid(‘addrow’, null, {})

    Look like a master key. I use but nothing happened, not give an error or any message. Only before and after console.log message happen.

    $(“#calismaGrid”).jqxGrid({
    width: ‘100%’,
    source: calismaDataAdapter,
    columnsresize: true,
    groupable: true,
    editable: true,
    editmode: ‘dblclick’,
    showtoolbar: true,
    toolbarheight: 30,
    .
    .
    .

    $(document).off(‘click’, ‘#addCalismaBtn’).on(‘click’, ‘#addCalismaBtn’,
    function (event){
    console.log(“before add happen.”);
    var commit = $(“#calismaGrid”).jqxGrid(‘addrow’, null, {});
    console.log(“after add happen.”);
    }
    );

    I cant see any problem on my code. But my code has got a problem. 🙁

Viewing 15 posts - 1 through 15 (of 17 total)