使用BootGrid时,当我从mysql中拉出一个空白字段时,它会显示-如何删除它?
我填充模态形式如下:
$sql = "SELECT debt_master.id, debt_master
while( $row = mysqli_fetch_assoc($queryRecords) ) {
$data[] = $row;
}
$json_data = array(
"current" => intval($params['current']),
"rowCount" => 10,
"total" => intval($qtot->num_rows),
"rows" => $data // total data array
);
return $json_data;
结果应该是空白的,没有显示空格