---
title: "NgocThai (@ngThai) | Hashnode"
description: "NgocThai (@ngThai) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@ngThai"
---

@ngThai

# NgocThai

@ngThai · Joined December 2021

## Comments

[I found your article very good, however there is a small problem, when I use method updateData() in ngOnInit(){this.userSource.updateData(\[{name: '1', email: '2', birthday : '3'}\]);} data table won't work](https://hashnode.com/posts/implement-custom-data-source-sorting-angular/609633121ea29f2c341dfbc1/comment/61ee7f6fe247b2151e61bfcc)

Comment · Article · Jan 24, 2022 · [Beautifully encapsulate table related logic using a custom data source + sorting using directives](https://hashnode.com/posts/implement-custom-data-source-sorting-angular/609633121ea29f2c341dfbc1)
