DataGrid may store data with apostrophes and retrieve data without them. But if you need to show this data on third side, simply use something like:str_replace("\'", "'", $data) or stripslashes() function of php