I have these database columns, but I want them to be in one column. How would I do that? With mRender, I think?
/* Address */
{"sTitle": "Address",
"bVisible": true,
"bSearchable": true},
/* City */
{"sTitle": "City",
"bVisible": true,
"bSearchable": true},
/* State */
{"sTitle": "State",
"bVisible": true,
"bSearchable": true},
/* Zip */
{"sTitle": "Zip",
"bVisible": true,
"bSearchable": true},
database table fields : id,first_name,last_name,email
datatable : full_name,email (without id) ?
provided that the columns returned by the datatables get are address, city , state, zip 1-4
if your data returned is a regular array
if your data is an associate array
or you can call mRender independent of mData (though it seems not needed for this situation)
EDIT: for datatables 1.10, just change the names a bit, drop the "m"
*note i'm not taking into account whether you should store this data in one column, just showing how its done