Data for grids is stored in memory in an Ext JS data store and in the corresponding javascript data type that matches the grid query column data type e.g. VARCHAR2 -> string, Date -> Date, Number -> integer/float
The issue you describe is because of javascript and the fact that it only supports a maximum integer value of 9007199254740991 (53 bit integer). The effect on larger numbers is that they will lose their precision i.e. change, which is the behaviour you are experiencing.
Please make sure you issue a to_char on columns within your grid query for numbers larger than this maximum size.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER