Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting not working using codebehind to set the data #167

Open
ChristianGalvez23 opened this issue Oct 31, 2018 · 0 comments
Open

Sorting not working using codebehind to set the data #167

ChristianGalvez23 opened this issue Oct 31, 2018 · 0 comments

Comments

@ChristianGalvez23
Copy link

ChristianGalvez23 commented Oct 31, 2018

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;
}
@ChristianGalvez23 ChristianGalvez23 changed the title Sorting not working with mfdata Viewchild mode Sorting not working using codebehind to set the data Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant