jQWidgets Forums
Forum Replies Created
-
Author
-
if you are still interested, check this:
jqxnumberinput.js_handleKeyDown
_handleSimpleKeyDownnear
if (o == 190 || o == 110)
there is another key code that fails: 191upd – use Chrome
1. russian
2. numberinput.js tells me that version is 2.5.5Thank you, I’ll try this way!
So, do I need to include to that function all possible work with the list?
And, for example, if I need to block certain element in the next few cells depending on the element I’ve chosen in this cell?
e.g.:
on.(‘cellclick’, function(event){
$(this).jqxDropDownList(‘selectItem’, item)
})
and after I set this item I need either to destroy all other lists in a column or to disable some elements
I just don’t know ho to perform this stuffMarch 19, 2013 at 12:00 pm in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17467Oh, no.
grid uses one adapter and List – another:var worksSource =
{
datatype: “json”,
data: {“contractId”: contractId},
datafields: [
{ name: ‘label’, type: ‘string’ },
{ name: ‘value’, type: ‘string’ }
],
url: ‘/state/works/’
};
var worksAdapter = new $.jqx.dataAdapter(worksSource, {
loadComplete: function () {
// get data records.
var records = dataAdapter.records;
}
});var source =
{
datatype: “json”,
data: {“actId”: actId, “contractId”: contractId},
datafields: [
{ name: ‘Act_Work_ID’ },
{ name: ‘Act_ID’ },
{ name: ‘Act_Work_Percent’ },
{ name: ‘Act_Work_Base_Price’ },
{ name: ‘Act_Work_Full_Price’ },
{ name: ‘Contract_Work_Name’ }
],
url: ‘/state/workstable/’};
var dataAdapter = new $.jqx.dataAdapter(source, {
loadComplete: function () {
// get data records.
var records = dataAdapter.records;}
});
// initialize jqxGrid
$(“#jqxgrid”).jqxGrid(
{
… the same codeMarch 19, 2013 at 11:48 am in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17464I apologize if I’m understanding you wrong,
but when take this:
{
editor.jqxDropDownList({ source: worksAdapter, displayMember: ‘label’, valueMember: ‘value’ });
}, width:600
and try to change displayMember and valueMember different ways, i get the same ‘getRows’ Array. In fact – the same select output in the gridMarch 19, 2013 at 11:31 am in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17459As for now I can only see the way out in making extra arrays and merging them or smth like that, but seems to me, that would be overkill.
Isn’t there a method to get both params from ‘getRows’?
or even only value -
AuthorPosts