Do javascript variables have a storage capacity limit?
I\'m designing one YUI datatable where I fetch the data from database and store it in a js object and wherever
The limit depends on the available memory of the browser. So every PC, Mac, Mobile setup will give you a different limit. I don't know how much memory one of your records needs, but I would guess that 1000 records should work on the most machines.
But: You should avoid storing massive data amounts in simple variables, depending on the records memory it slows down the whole website behavior. Your users with average computers may see ugly scrolling effects, delayed hover effects and so on..
I would recommend you to use local storage. I'm sorry to don't know the YUI library, but I am pretty sure that you can point to the storage for your datatable source.