How to avoid Warning Add <Th> Header to the table in JQGrid

This is my Code:

<table id="aircraftTypeGrid" name="aircraftType" class="scroll" cellpadding="0" cellspacing="0"> 

This is the table inside the JQ Grid. I am defining the column headers inside the JQ Grid. There is also a header and footer defined for the Grid.
How can i avoid this warning for the tables inside the Grid?

Hi,

Welcome to the community!

Could you share

  • What rule you’re seeing this from? The rule ID probably looks something like S123.
  • What version of SonarQube you’re using?

 
Thx,
Ann