jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • If i see the generated html after tab set Title At i get

    <li class="jqx-reset jqx-disableselect jqx-tabs-title jqx-tabs-title-metro jqx-item jqx-item-metro jqx-rc-t jqx-rc-t-metro jqx-tabs-title-selected-top jqx-tabs-title-selected-top-metro jqx-fill-state-pressed jqx-fill-state-pressed-metro" style="float: left; position: static; height: 24px;">Ciao</li>

    As not rendered element of jqxTabs.

    If i see the other element i have

    li class="jqx-reset jqx-disableselect jqx-tabs-title jqx-tabs-title-metro jqx-item jqx-item-metro jqx-rc-t jqx-rc-t-metro jqx-tabs-title-selected-top jqx-tabs-title-selected-top-metro jqx-fill-state-pressed jqx-fill-state-pressed-metro" style="float: left; position: static; height: 24px;">
    <div class="jqx-tabs-titleWrapper" style="outline: medium none; position: relative; z-index: 15; height: 100%;">
    <div class="jqx-tabs-titleContentWrapper jqx-disableselect" style="float: left; margin-top: 0px;">
    <div class="table-label">
    <span>Utente</span>
    </div>
    </div>
    <div class="jqx-tabs-close-button jqx-tabs-close-button-metro" style="height: 16px; width: 16px; float: left; font-size: 1px; display: none; margin-top: 5px;"></div>
    </div>
    </li>

    is there the possibility to force a new rendering?

    This is the hidden column, whereas data checked is the value of the not hidden column

    { text: 'Hidden', editable: false, datafield: 'hidden', width: 0, hidden:true,
    cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties) {
    //value contiente il valorehidden dell'i-esima riga
    var data = jQuery('#grid').jqxGrid('getrowdata', row);
    html='<div style="overflow: hidden; text-overflow: ellipsis; padding-bottom: 2px; text-align: '
    + columnproperties.cellsalign +'; margin:4px 2px 0px 4px;">'
    + value +'</div>';
    //aggiungo due campi hidden: id e checked per sapere, in POST
    //se l'i-esimo id è stato selezionato o meno
    //row è il bound index della riga
    html+='<input type="hidden" name="data[Sound]['+row+'][id]" value="'+data.id+'" >';
    html+='<input id="data[Categories][id]['+row+']'+row+'Checked" name="data[Categories][id]['+row+']" value="'+(data.checked?1:0)+'" >';//name="data[Person]['+row+'][checked]
    return html;
    }
    },

    I could change the input value but the beahviuor is different inside and outside the grid. Indeed inside the grid do not change the input value to newvalue selected in dropdown whereas externally it change. How can i get standard beahviuor.

    I see that the name of the input is

    name=”dropdownlisteditorgridcategory_id” , i would like to set it as my name data[Categories][NewCategory];

    Ok, i get close, how can i set the name of an editor?

    Because

    editor.attr(‘name’, ‘MyName’);

    do not work.

    The problem is not to submit a dropdown but to submit adropdown in editor. I know how to submit form and dropdown in other case.

    Thanks

    in reply to: Checkbox inside grid Checkbox inside grid #20841

    I need to pass an id and a class to each checkbox

    in reply to: Check box Check box #20752

    By the way in the example is reported in two differnts ways.

    $(columnCheckBox).jqxCheckBox({ checked: state })

    and

    columnCheckBox.jqxCheckBox({ checked: false });
    in reply to: Check box Check box #20749

    I haven’t it in my console when i print the object after i goes on jqxcheckbox element.

    in reply to: Check box Check box #20746

    The value of checked,sorry

    in reply to: Check box Check box #20745

    What is the value of the state of the check box?

    jQuery(columnCheckBox).jqxCheckBox({ checked: state });

    The problem is that, when i click on the dropdownlist it fires also the event on close of the window that is programmed to destroy all the element inside.

    Is there any intersection beetween on close event of window and the dropdown?

    in reply to: Elements windows do not close Elements windows do not close #17767

    The events on close is not intercepted.

    When i close the window the message “closing” not appear in the console

    $routine = '
    console.log(1);
    jQuery("#'.$id.'").on(\'close\', function (event) {
    //console.log("closing...");
    jQuery(".epx-destroyable").each(function(){
    var type = jQuery(this).data("epx-type");
    //console.log(type);
    jQuery(this)[type]("destroy");
    });
    jQuery("#'.$id.'").jqxWindow("destroy");
    });
    jQuery("body").append("<div id=\"'.$id.'\"><div></div> <div></div> </div>");
    console.log(2);
    jQuery("#'.$id.'").jqxWindow('.Easypbx_Html_JsonElement::create($properties).');
    console.log(3);
    jQuery("#'.$id.'").jqxWindow("setContent", "Loading...");
    console.log(4);
    (function(){
    jQuery.ajax({
    dataType: "html",
    url: "'.$url.'",
    success: function (data) {jQuery("#'.$id.'").jqxWindow("setContent", data);},
    error: function () {jQuery("#'.$id.'").jqxWindow("setContent", "Error");}
    });
    jQuery("#'.$id.'").jqxWindow("open");
    jQuery("#'.$id.'").jqxWindow("show");
    })();
    console.log(5);
    in reply to: Columns Headers Size Columns Headers Size #17069

    Sorry, my mistake

    It works.

    in reply to: Input value is null Input value is null #16721

    I solved with

    $(“#subject”).attr(‘value’) .

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