Updated from our dev.team: The issue has been solved. Thank you for spotting the issue.
Below is the fix:
<tbody>
<?php
foreach($this->dataStore as $i=>$row)
{
$rowStyle = "";
if($this->paging)
{
if($i<$this->paging["pageIndex"]*$this->paging["pageSize"] || $i>=($this->paging["pageIndex"]+1)*$this->paging["pageSize"])
{
$rowStyle.="display:none;";
}
}
$this->renderRowGroup($groups,$i,count($showColumnKeys));
?>
<tr ri='<?php echo $i; ?>'<?php echo ($rowStyle!="")?" style='$rowStyle'":""; ?><?php if($trClass){echo " class='".((gettype($trClass)=="string")?$trClass:$trClass($row))."'";} ?>>
<?php
foreach($showColumnKeys as $cKey)
{
$cssStyle = Utility::get($meta["columns"][$cKey],"cssStyle",null);
$tdStyle = is_string($cssStyle)?$cssStyle:Utility::get($cssStyle,"td");
?>
<td rv="<?php echo ($cKey!=="#")?$row[$cKey]:($i+$meta["columns"][$cKey]["start"]);?>" <?php echo ($tdStyle)?"style='$tdStyle'":""; ?> <?php if($tdClass){echo " class='".((gettype($tdClass)=="string")?$tdClass:$tdClass($row,$cKey))."'";} ?>>
<?php echo Table::formatValue(($cKey!=="#")?$row[$cKey]:($i+$meta["columns"][$cKey]["start"]),$meta["columns"][$cKey],$row);?>
</td>
<?php
}
?>
</tr>
<?php
}
?>
<?php
if ($this->dataStore->countData()>0) {
$this->renderRowGroup($groups, $i+1, count($showColumnKeys));
} else {
?>
<tr><td colspan="<?php echo count($showColumnKeys); ?>" align="center"><?php echo $this->translate("No data available in table"); ?></td></tr>
<?php
}
?>
</tbody>