Knockout-Contrib / Knockout-Contrib/KoGrid

Error "sortedData is not a function" (with repro)

Open
#194 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
277
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Hi, this is probably my fault, but when trying to use it with server-side paging, I get an error from kogrid (line 1473 of the debug version). Probably it's just me using the library in an unintended way, anyway this might eventually be a hint for you for a more "defensive" coding. I posted a full question with a fiddle and an attachment (to be used as an alternative to the fiddle) here:

https://groups.google.com/d/topic/knockoutjs/ikE1TltWeSg/discussion

Could anyone tell me what's wrong in my code? As it is now, it should resemble a typical skeleton for server-side paging and filtering, so I think it might be useful for other noobs like me. Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at line 1473 of the debug version of kogrid and reproduce the failure using the linked Google Groups discussion, fiddle, and attachment. Trace why sortedData is not callable when server-side paging and filtering are used; done means the reported reproduction no longer raises the error or the intended usage is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.