jQWidgets Forums
Forum Replies Created
-
Author
-
July 1, 2013 at 9:12 am in reply to: tabs losing tab when set the title but string appear tabs losing tab when set the title but string appear #24245
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?
June 7, 2013 at 1:41 pm in reply to: Grid Column to be hide but accessible via form Grid Column to be hide but accessible via form #22780This 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; } },
June 7, 2013 at 9:40 am in reply to: Dropdownlist inside a editor grid Dropdownlist inside a editor grid #22773I 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.
June 7, 2013 at 9:13 am in reply to: Dropdownlist inside a editor grid Dropdownlist inside a editor grid #22770I see that the name of the input is
name=”dropdownlisteditorgridcategory_id” , i would like to set it as my name data[Categories][NewCategory];
June 7, 2013 at 8:57 am in reply to: Dropdownlist inside a editor grid Dropdownlist inside a editor grid #22769Ok, i get close, how can i set the name of an editor?
Because
editor.attr(‘name’, ‘MyName’);
do not work.
June 7, 2013 at 8:39 am in reply to: Dropdownlist inside a editor grid Dropdownlist inside a editor grid #22766The 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
I need to pass an id and a class to each checkbox
By the way in the example is reported in two differnts ways.
$(columnCheckBox).jqxCheckBox({ checked: state })
and
columnCheckBox.jqxCheckBox({ checked: false });
I haven’t it in my console when i print the object after i goes on jqxcheckbox element.
The value of checked,sorry
What is the value of the state of the check box?
jQuery(columnCheckBox).jqxCheckBox({ checked: state });
March 29, 2013 at 12:06 pm in reply to: DropDown disappear after clicking DropDown disappear after clicking #18266The 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?
March 22, 2013 at 2:04 pm in reply to: Elements windows do not close Elements windows do not close #17767The 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);
Sorry, my mistake
It works.
I solved with
$(“#subject”).attr(‘value’) .
-
AuthorPosts