Skip to content

Sorting not working using codebehind to set the data #167

@ChristianGalvez23

Description

@ChristianGalvez23

I can't sorting using codebehind but working using [mfData]="array" attribute directly in tag component in view.

This is what I pretend to do (not working):

@ViewChild('mytable')
mytableComponent: DataTable;

private getMyArray(): void {
_[call to server]_
...
this.mytableComponent.data = array;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions