jQWidgets Forums
Forum Replies Created
-
Author
-
September 5, 2015 at 12:56 am in reply to: SQL injection weakness in PHP filter example SQL injection weakness in PHP filter example #75520
Anyone cracked this nut yet?
Peter,
Is there a way I can control this? As you can see the way we are using the splitter is that it does not collapse. It is a fixed layout.
Thanks
Kim
January 25, 2015 at 10:37 am in reply to: SQL injection weakness in PHP filter example SQL injection weakness in PHP filter example #65974We have attempted to tackle this problem so many times I can’t recall how many!
It just seems to be an inherent problem with dynamic grids.To date we still don’t have any solution for this… string checking is really not bullet proof. And there’s no library out there for this either.
Does anyone have a solution to this? If so please share!
Thanks
Kim
This is how it is on regular desktop browsers:
https://www.dropbox.com/s/ltz3um190f4gnue/2015-01-23_11-26-04.png?dl=1December 3, 2014 at 2:05 pm in reply to: Feature: Add option to specify scrollbarsize Feature: Add option to specify scrollbarsize #63720Adding to tree grid would be good too.
Kim
November 27, 2014 at 4:51 pm in reply to: display: inline-block incorrect scrollbar height display: inline-block incorrect scrollbar height #63483Peter,
I’m not sure I understand what you mean by: 1. I suggest you to do now change the panel’s display settings because by doing that you will affect its Layout.
Please clarify.
Thanks so much!
Kim
November 3, 2014 at 8:03 am in reply to: Add support for "global" ajax settings Add support for "global" ajax settings #62035Peter,
Thanks for the tip. All I had to do was change $_GET to $_REQUEST on the server side.
Thanks
Kim
November 3, 2014 at 3:43 am in reply to: Buttons that disable itself when clicked gets bad focus state Buttons that disable itself when clicked gets bad focus state #62014Dimitar,
I tried the code above before posting. It only appears to work but doesn’t really work because there seems to be some other thing tracking the focused state of the button. What happens is that when you move the mouse back over the button nothing happens… when it supposed to receive focus… because the button already thinks… it is in focus.
Please help!
Kim
November 3, 2014 at 3:41 am in reply to: Add support for "global" ajax settings Add support for "global" ajax settings #62013Peter,
Can we have the default implementation for loadServer data that will support filtering, sorting, etc?
There’s no documentation anywhere so we don’t even know where to start.
Thanks!
Kim
May 14, 2014 at 1:17 pm in reply to: Grid Copy paste date problem if format is not mm/dd/yyyy Grid Copy paste date problem if format is not mm/dd/yyyy #54448Chrome latest version. Thanks!
March 18, 2014 at 1:56 am in reply to: BUG: Disabled Editing in grid still takes values from copy paste BUG: Disabled Editing in grid still takes values from copy paste #51222Peter,
Thanks… is there anything in the internals that I can try to hook on to?
Thanks
Kim
December 4, 2013 at 6:22 am in reply to: Set Autocomplete Value programatically Set Autocomplete Value programatically #45966Peter,
Thanks so far… I’ve been trying to crack this nut… but it’s not working… here’s the problem…
.jqxInput({displayMember: sDisplayMember, valueMember: sValueMember, source: function (query, response)The source function takes 2 params. I understand the query is the text in the input box, the response seems to be some kind of function that is related to opening the list of suggested matches…
The loadComplete funciton of the settings of the dataAdapter uses this reponse param… as follows:
loadComplete: function (data)
{
if (data.length > 0)
{
response($.map(data, function (item)
{
return {label: item[sDisplayMember], value: item[sValueMember]};
}));
}
}If I defined the datadapter outside as you mentioned… how would I get this response parameter?
A code sample would really help!
Thanks
Kim
December 2, 2013 at 6:26 am in reply to: Set Autocomplete Value programatically Set Autocomplete Value programatically #45747OK… that might work.. problem is.. how do I get a reference to the jqxDataAdapter from the autocomplete… here’s how I’m setting the data source for the input
$(“#inputBox”).jqxInput({displayMember: sDisplayMember, valueMember: sValueMember,
source: function (query, response)
{
var dataAdapter = new $.jqx.dataAdapter
…..As you can see this is like the demo example. the dataAdapter is inside the source function… how can I get a hold of that so I can call the dataBind function… or is there a different way to set the source?
Kim
November 27, 2013 at 3:56 pm in reply to: Set Autocomplete Value programatically Set Autocomplete Value programatically #44928Peter,
Calling suggest just seems to open up the popup…. without closing it… is there another internal API that I can send the query back to get the id from the DB without opening the popup?
Thanks
Kim
November 27, 2013 at 2:57 pm in reply to: Set Autocomplete Value programatically Set Autocomplete Value programatically #44861Thanks. I don’t see suggest anywhere in the docs… I guess it’s $(“#id”).jqxInput(“suggest”);
is that correct? -
AuthorPosts