asdfasdfasdklfjhalksdjfhlksdjfhasdkljfhadksljfhldksjfhdksljfha sdlkfcjh xlguhdzl ckjhzlfkvjhnzxclkfjh sldkjfhzljdkfha;sljgk hdzxc;vlkjh zxcl;lvjk hzxlc;jkv zclxkvjlcjkx vnzlcjkvnzlxcvkzljckvn ;lckvjzcljkv ;ldkjcvzclxvkjzx
/**
* Adds an event handler that runs when a table row is selected.
[Read more](https://www.wix.com/corvid/reference/$w.Table.html#onRowSelect)
* @param {$w.TableRowEvent} event
*/
//export function tblCategories_rowSelect(event) {
// filterPostData()
//}
export function tblCategories_dataChange(event) {
//let filterCatID = $w("#textCategoryID")
filterPostData()
}
export function filterPostData(){
let filterCatID = $w("#textCategoryID")
$w('#dataPost').setFilter(wixData.filter());
$w('#dataPost').setFilter(wixData.filter().eq("Category ID", filterCatID));
$w("#dataPost").refresh()
}
/**
* Adds an event handler that runs when the table's data is changed.
[Read more](https://www.wix.com/corvid/reference/$w.Table.html#onDataChange)
* @param {$w.Event} event