Select to view content in your preferred language

Feature-Table Grid disappears when including <!doctype HTML>

313
1
Jump to solution
2 weeks ago
D_Atkins
Regular Contributor

Seems likely to be related to Solved: FeatureTable 4.30 failing to display grid - Esri Community

Using 4.33 with Map and Feature-Table components and very minimal custom CSS, the table's rows do not display... this can be resolved by removing the <!doctype HTML> and using "quirks", but this seems like a last resort; we'd much rather understanding the behavior than sidestep it.  

CodePen here: https://codepen.io/Dane-Atkins/pen/raOGdXE

 

 

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Frequent Contributor

Having recently dealt with this issue, it appears that the solution is to give your FeatureTable an id and specify its height in the CSS, otherwise the height will be 0px.

#table{
  height: 500px;
}

 

GIS Developer
City of Arlington, Texas

View solution in original post

1 Reply
JeffreyThompson2
MVP Frequent Contributor

Having recently dealt with this issue, it appears that the solution is to give your FeatureTable an id and specify its height in the CSS, otherwise the height will be 0px.

#table{
  height: 500px;
}

 

GIS Developer
City of Arlington, Texas