jQWidgets Forums
Forum Replies Created
-
Author
-
July 23, 2014 at 2:27 pm in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57631
Peter,
Can you please explain me about the “0x800a138f – Microsoft JScript runtime error: ‘me.host’ is null or not an object.” error. Because it occurs even when I am not using “begincelledit”. It randomly occurs when I try to go from one editor dropdownlist to another.
It will be very helpful if I could find out the reason behind this error.
Thank you
July 22, 2014 at 2:58 pm in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57550Peter,
Also, my editmode: ‘click’,
selectionmode: ‘singlerow’Let me know if you need any additional information or if these modes are in conflict.
Thanks.
July 22, 2014 at 2:18 pm in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57547In this case, the reason I am using “begincelledit” function is because I need to Open the next column’s editor. And, I used that as per your previous post #57530.
Well, all I want to do is, I have three columns and all have dropdownlist editors. When I select first column editors dropdownlist value, it should open the next columns editor and so on. I tried the method which is already available in the demo but that didn’t work in this situation. Can you offer any alternative or solution?Thank you.
July 22, 2014 at 2:00 pm in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57545Peter,
The reason I am calling “getcellvalue” method is because I need to get the selected value from the previous column’s dropdownlist. Can you suggest any other method I can get previous column dropdownlist’s selected value without calling “getcellvalue” method? Or any other alternative?
Thank you
July 22, 2014 at 1:47 pm in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57543Peter,
That is very helpful.
However, when I use begincelledit on column editor’s dropdownlist change event, it throws this error “0x800a138f – Microsoft JScript runtime error: ‘me.host’ is null or not an object.” What am I doing wrong here?
{
text: ‘Answer’, dataField: ‘Answer’, width: ‘6%’, align: ‘center’, cellsalign: ‘center’, columnType: “dropdownlist”,
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ autoOpen: true, source: answerAdapter, displayMember: ‘answer’, height: 25, valueMember: ‘answer’, autoDropDownHeight: true, placeHolder: “Answer:” }).on(‘change’, function (event) {
var item = event.args.item;
if (item.label != ‘Yes’) {
$(“#grdQuestionnaire”).jqxGrid(‘begincelledit’, row, “RespPartyType”);
}
});
}
},
{
text: ‘Resp. Party Type’, dataField: ‘RespPartyType’, width: ‘10%’, align: ‘center’, cellsalign: ‘center’, columnType: “dropdownlist”,
createeditor: function (row, column, editor) {
var answer = $(‘#grdQuestionnaire’).jqxGrid(‘getcellvalue’, row, “Answer”);
if (answer == “No” || answer == “Justified”) {
editor.jqxDropDownList({ autoOpen: true, autoDropDownHeight: true, source: respPartyAdapter, displayMember: “value”, valueMember: “key”, height: 25, placeHolder: “Resp. Party Type:” });
} else {
var defaultValue = new Array();
editor.jqxDropDownList({ autoDropDownHeight: true, height: 25, disabled: true, source: defaultValue, placeHolder: “Resp. Party Type:” });
}
}
},Thank you.
July 22, 2014 at 10:33 am in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57523Hello Peter,
{
text: ‘Answer’, dataField: ‘Answer’, width: ’6%’, align: ‘center’, cellsalign: ‘center’, columnType: “dropdownlist”,
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ source: answerAdapter, displayMember: ‘answer’, height: 25, valueMember: ‘answer’, autoDropDownHeight: true, placeHolder: “Answer:” }).on(‘change’, function (event) {
var item = event.args.item;
if (item.index > 0) {
//Here, I want to set the focus to the next column’s dropdownlist}
});
}
},So, how would you suggest that I can focus the dropdownlist in the next column to focus, on selection of dropdownlist in the first column. I am sorry, but the ‘focus’ event I found doesn’t work here.
Thank you.
July 21, 2014 at 11:58 am in reply to: Set Focus on Cascading Dropdownlist in JqxGrid Set Focus on Cascading Dropdownlist in JqxGrid #57475Thank you for pointing out the better ways.
Is it possible that I can set focus to next column’s dropdownlist while in edit mode?July 9, 2014 at 6:26 pm in reply to: JQXTreeGrid Get Column Index on RowClick Event JQXTreeGrid Get Column Index on RowClick Event #56951Thank you for a quick response.
Is there any other way I can get the column index in a TreeGrid on a user click? I need to find out which column is being clicked by the user…
-
AuthorPosts