Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

I have a grid with a (json) array as datasource. the fields has names like Asset.Label (is coming from an existing API). Initialy there was a problem with display the data in the columns. To overcome this problem I use a valueAccessor like this:

public valueAccessor(fieldstringdataobjectcolumnobject) {
    return data[field];
  }

The problem is the sorting engine does not look at the returned value of the valueAccessor when sorting that column. When I add a SortComparer like this:

(rc=> {
          console.log(rc);
          return 0;
        }

the r and c are both undefined.