View Single Post
Old 10-06-2012, 01:54 PM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Form control values are always strings; perhaps the filtering needs to occur against the number-value:

Code:
if (!isNaN(filterValue)) filterValue = filterValue * 1;    // convert to number
view.setRows(view.getFilteredRows([{column: filterFieldIndex, value: filterValue}]));
Your value: "901112112478534"
Max Integer (ECMAScript) 9007199254740992

You could alert(Number.MAX_VALUE), but your value is small enough to be converted to a number.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Users who have thanked AndrewGSW for this post:
chrisiboy (10-06-2012)