Select to view content in your preferred language

JavaScript: How to keep "Null" from showing in FeatureTable date column

666
1
05-26-2017 06:41 AM
Robertvan_Waasbergen
Emerging Contributor

I'm using a FeatureTable widget (Javascript 3.20 API) with a feature layer, and in Internet Explorer, the table displays the word "Null" in a column of type esriFieldTypeDate for records where that attribute is empty.  In Chrome, the field is blank.  Is this a known issue, and is there a solution? We want those fields to just be blank.

The field has to be a date type in order to use the correct editor.

Thanks for any feedback!

Tags (1)
0 Kudos
1 Reply
EvelynHernandez
Frequent Contributor

Why u dont edit the data before u pass it to the component?
So everytime u have the null or "" parameter u can fill it with anything u want before u add it to the feature table.

0 Kudos