ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: atmaneuler on January 06, 2021, 08:48:30 am

Title: Get data in cell
Post by: atmaneuler on January 06, 2021, 08:48:30 am
I want to get and check the data of 1 cell is empty or not?
Expected: Use console show data of cell
Title: Re: Get data in cell
Post by: atmaneuler on January 06, 2021, 09:26:26 am
Add expected: If it is empty, clicking on the cell will show the word "N / A", if you click on another cell, the previous cell will lose the word "N / A".
Title: Re: Get data in cell
Post by: paramvir on January 06, 2021, 11:46:30 pm
Empty cell can be checked as

Code: [Select]
var val = ui.rowData[ui.dataIndx];
if (val === "" || val == null) {

}

https://stackblitz.com/edit/paramquery-demo-empty-cell?file=index.js
Title: Re: Get data in cell
Post by: atmaneuler on January 07, 2021, 09:22:32 am
Thanks admin ^_^