jQWidgets Forums
Forum Replies Created
-
Author
-
May 28, 2018 at 11:56 am in reply to: have a rowIndex instead row in initwidget() have a rowIndex instead row in initwidget() #100338
Hello Hristo,
the demo you mentioned on June 26, 2017 does not use the initwdget callback. For the original question, it is quite irrelevant.
Nevermind. The question is still the same. Earlier (prior to 4.1.0), this callback was called with an object as the row parameter. It was possible to get, for example row.bounddata inside the callback. In later versions, this callback is called with a number as the row parameter. The bounddata is not accessible anymore.
initwidget: function (row, column, value, htmlElement) { console.debug(row.bounddata); }
It is needed when the widget is initialized in a context of the rest of the row.
April 11, 2018 at 2:08 pm in reply to: have a rowIndex instead row in initwidget() have a rowIndex instead row in initwidget() #99670Hello,
unfortunately, the reply does not answer the question.So how can I get the information like row.bounddata in this case?
The demo does not handle the “row” at all.
In versions prior to 4.1.0, it was possible to do it. But then the signature of the callback function changed.
Best regards,
JiriOctober 21, 2015 at 2:37 pm in reply to: "Cannot read property '0' of null" with Grid "Cannot read property '0' of null" with Grid #77198We cannot cancel the second request – a user must get the result. Do you have a solution?
Thanks!
October 12, 2015 at 8:20 am in reply to: getItemByValue fails when spaces are in values getItemByValue fails when spaces are in values #76692Hi Peter,
yes, I can write my own function for searching among the items. And I do it. The problem is that this bug causes problems also inside your code.
Check http://jsfiddle.net/1ch42b6q/
It is a very simple example. Click into the combobox. Write “A A”. You will see the same item in the listbox. Now, press a down arrow key. The item in the input field changes to “A_A”!
I understand that sometimes it could be useful to have a function getItemByValue effectively discarding all spaces but it cannot be used in cases where an exact match is what users expect.
Please, fix it. Thanks. I spent hours to debug this case. It wasn’t cheap.
October 9, 2015 at 1:57 pm in reply to: getItemByValue fails when spaces are in values getItemByValue fails when spaces are in values #76632Looks like you have already fixed it today. Good job!
However, now you broke something else:
http://jsfiddle.net/nq8xex9r/2/Keep going!
October 9, 2015 at 6:45 am in reply to: getItemByValue fails when spaces are in values getItemByValue fails when spaces are in values #76597Yes, displaying of labels can be fixed in CSS. Getting wrong item is a jQWidgets’ issue. Fix it. Thanks.
October 8, 2015 at 2:18 pm in reply to: getItemByValue fails when spaces are in values getItemByValue fails when spaces are in values #76572Most probably related bug:
Left button action is buggy, the right one works fine.
-
AuthorPosts