After retrieving a large list of schools with their respective columns from the database, totaling over 1000 rows, I converted it to JSON and passed it to my view. I then attempted to parse it using
$.parseJSON('@Html.Raw(Model.subChoiceJsonString)')
and stored it in an array.
ko.observableArray($.parseJSON('@Html.Raw(Model.subChoiceJsonString)'));
However, I encountered an issue as it does not work when there is a high number of rows, but works fine with smaller datasets.
I suspect that it may be due to Javascript's limitations with handling such a large string. Is this correct? How can I overcome this challenge and make it function properly?