I am new to ag-grid. I started with a basic example, but it did not work properly. I copied the code from ag-grid documentation as it is, then it worked. I wanted to know the mistake that I made in my code. Comparing line by line helped to find the issue. The last line that I removed was <!DOCTYPE html>
from my code, then it started to work.
What is the problem caused by adding <!DOCTYPE html>
?