jQWidgets Forums
Forum Replies Created
-
Author
-
January 5, 2017 at 4:05 pm in reply to: Loading image when loading huge data Loading image when loading huge data #90355
hi dimitar,
works fine.
THX, kindest regrads, frank
January 4, 2017 at 2:04 pm in reply to: Loading image when loading huge data Loading image when loading huge data #90308hi dimitar,
works fine, but what would be to do, if i have 4 comboboxes?
when i say: $(“.jqx-combobox-input, .jqx-combobox-content”).css({ “background-image”: “none” });
on all comboboxes the loading image is away.
i found no way to set an id on the comboboxes, is there a way?how could i handle this?
kindest regards, frank
January 4, 2017 at 10:09 am in reply to: ComboBox – behavior like left mouse button is pressed ComboBox – behavior like left mouse button is pressed #90297hi ivailo,
i found the reason for that strange behavior in firefox.
what i am building is some kind of dashboard.
in head area there are a few dropdowns to select the initial data and when you click on go-button you get 2 grids and 5 charts.
concerning the charts i had a few problems with caching. when i select new values from the dropdowns and pressed ok-button again, chart was reloaded, but with old data.
so i set cache and async to false.
in ready function:$.ajaxSetup({
cache: false,
async: false,
});and i set these two parameters in my ajax-calls also to false:
$.ajax({
type: “POST”,
url: “../WebService/DBService.asmx/GetJsonData1”,
contentType: “application/json; charset=utf-8”,
dataType: “json”,
cache: false,
async: false,
data: JSON.stringify({
sql: “SELECT * FROM bla”,
datenbank: “CCC”,
}),
success: function (response) {
SuccessDDAktion(response.d);
},
error: function (response) {
alert(“Fehler beim generieren des Aktion Dropdowns”);
}
});and that is the problem for firefox.
when i change async parameter to true:$.ajax({
type: “POST”,
url: “../WebService/DBService.asmx/GetJsonData1”,
contentType: “application/json; charset=utf-8”,
dataType: “json”,
cache: false,
async: true,
data: JSON.stringify({
sql: “SELECT * FROM bla”,
datenbank: “CCC”,
}),
success: function (response) {
SuccessDDAktion(response.d);
},
error: function (response) {
alert(“Fehler beim generieren des Aktion Dropdowns”);
}
});than firefox works like chrome and the strange behavior is gone.
i dont know, why i will have to set the async parameter to true, while loading the dropdowns…
can you tell me why?perhaps it helps someone who is in trouble like me…
kindest regards, frank
January 3, 2017 at 4:17 pm in reply to: ComboBox – behavior like left mouse button is pressed ComboBox – behavior like left mouse button is pressed #90270hi ivailo,
i just checked the console in firefox and chrome, chrome console is empty.
in firefox is a warning getPreventDefault should not be used anymore jquery 1.10.2.min.js and
a warning unreachable code after return jqxlistbox.jsnot really usefull…
i dont understand it, because it works in chrome…
kindest regards, frank
January 3, 2017 at 4:07 pm in reply to: ComboBox – behavior like left mouse button is pressed ComboBox – behavior like left mouse button is pressed #90269hi ivailo,
i tried this example: http://jsfiddle.net/jqwidgets/BcjKH/
and firefox shows normal behavior.
it seems that it is specific to me.you ever heard of that behavior i described?
kindest regards, frank
January 3, 2017 at 3:50 pm in reply to: ComboBox – behavior like left mouse button is pressed ComboBox – behavior like left mouse button is pressed #90267hello ivailo,
thx for fast answer.
in your example you have multiselect bei choosing one item at a time. after choosing an element, the dropdown closes automatically.
i mean multiselect with checkboxes. so the dropdown stays open until a click anywhere on the site.$(“#ComboBox”).jqxComboBox({
theme: theme,
width: 200,
height: 20,
checkboxes: true,
source: dataAdapter,
selectedIndex: 0,
displayMember: “Auftraggebername”,
valueMember: “AGID”,
promptText: “SELECT”
});kindest regards, frank
December 27, 2016 at 1:57 pm in reply to: filter row one dropdown filters second dropdown filter row one dropdown filters second dropdown #90128hello hristo,
thx for answer.
but i see no workaround with your example.
i’m sorry, i’m not a wizard, can you give me a few hints to get started?THX , kindest regards, frank
-
AuthorPosts