Edition1
25 Oct 2011, 1:55 AM
Hi All,
I am having trouble to run the example given with the downloads.
I am trying to run the example for List Search.
I managed to display list and the searchfield.
However when I enter anything into searchfield it gives an error.
Uncaught TypeError: Object [object Object] has no method 'getValue'
On below line
keyup: function(field) {
var value = field.getValue();
To get the example run, I did a trick.
Instead of using getValue() function I tried something different as
var value = String.fromCharCode(field.browserEvent.keyCode);
now am getting value=the searchstring I put and after that it doe the processing ahead without any error.
But the List display as it. It does not get filtered according to search string.
I tried to modify the processing logic but it does not have any effect on the list.
Please help me to get this example running.
I am having trouble to run the example given with the downloads.
I am trying to run the example for List Search.
I managed to display list and the searchfield.
However when I enter anything into searchfield it gives an error.
Uncaught TypeError: Object [object Object] has no method 'getValue'
On below line
keyup: function(field) {
var value = field.getValue();
To get the example run, I did a trick.
Instead of using getValue() function I tried something different as
var value = String.fromCharCode(field.browserEvent.keyCode);
now am getting value=the searchstring I put and after that it doe the processing ahead without any error.
But the List display as it. It does not get filtered according to search string.
I tried to modify the processing logic but it does not have any effect on the list.
Please help me to get this example running.