Hi all, I'm displaying some records from a database. The data is d

Hi all,
I'm displaying some records from a database.
The data is displayed properly on the grid. However, whenever I try to sort using any column, I get the following error:
Error Evaluating UI Expression:
Expression evaluation error in rule: Error evaluating function 'todatasubset': sort should not have blank sort fields.
How can I fix this?
Please provide your inputs....

OriginalPostID-105531

OriginalPostID-105531

  Discussion posts and replies are publicly visible

Parents
  • Hi Eduardo,
    I tried narrowing down the issue as suggested by you.
    The first todatasubset works fine with sorting only when the 2nd todatasubset is not present.
    If both the datasubsets are present then it throws an error like I mentioned previously.
    Not sure of what is causing this issue.
    How can I resolve this issue?
    PFA the code as is.
    Please let me know if it is possible to disable sorting completely.
    Also, the alignment doesn't work.
    Please provide your inputs.
    They helped me a lot.

    Sort SAIL.txt

Reply
  • Hi Eduardo,
    I tried narrowing down the issue as suggested by you.
    The first todatasubset works fine with sorting only when the 2nd todatasubset is not present.
    If both the datasubsets are present then it throws an error like I mentioned previously.
    Not sure of what is causing this issue.
    How can I resolve this issue?
    PFA the code as is.
    Please let me know if it is possible to disable sorting completely.
    Also, the alignment doesn't work.
    Please provide your inputs.
    They helped me a lot.

    Sort SAIL.txt

Children
No Data