Hi,
I have a default IGGrid sorting enabled on my igGrid. However I am sorting the data according to Business requirement in my Controller. When I try to reload the grid, I get the following message.
Unable to get property 'userSet_currentSortDirection' of undefined or null reference
Can you please let me know why ?
Hello Chishti,
I do not have clear understanding of your issue .Would like to have some more information incliding
What do you mean by sorting the data by business requirement?
What business requirement do you have?
How you are performing sorting in the grid?
In order to reproduce the same error i would like to have a working sample so tht i can debug it and find the cause of the issue.
I have created a sample application of iggrid with sorting behavior enabled , i would like you to modify the same if this is not what you are doing .
Or provide me an isolated working sample of your own.
Looking forward to hearing you back.
By Business requirements, I meant I am sorting the data before binding for default sort. That works fine. Its just if I try to reload the grid again, I get the above mentioned error.
Can you please let me know under what circumstances we will get this error ?