Extra record in between the table header and table data

I am trying to create a table list for showing the Account statement
My list table show as

<546> <0> <500> <1500>
<560> <600> <0> <900>

here I would like to enter a record in between the Header and Table data
to show the opening balance by using the Server Even as

<0> <0> <0> <1000>
<546> <0> <500> <1500>
<560> <600> <0> <900>

How can I enter this kind of extra record just to show to my client for their convenience.

Use jQuery after to add a row to the thead.

Simply use “Page_DataRendering” server event.

mobhar wrote:

Simply use “Page_DataRendering” server event.

When I use Page_Data Rendering
the echo shows above the table header
and $header also shows above the table header

But I want to show my custom record
between the Table header and the Table body.

For such case, then you may try .append() jQuery (Google for it) to append the html content based on the certain selector/class/id, and put it in “Startup Script” under the List Page.