In Datatable, if we have a column name with space in server side rendering datatable then i am getting this error
message: "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Number asc LIMIT 0, 20' at line 1 "
consider, we have a columns as
"Phone Number" => [
"label" => "Mobile Number"
]
I think it is creating a query with Phone Number asc instead of "Phone Number" asc for sorting purpose... can you share how can i achieve working it without error?