Hide field in mobile view

hi there,

i have a grid and when someone uses a mobile i want to hide or rearange the field for a better user experience. any suggestions how to do this .

or can i redirect a mobile user to another grid?

// Check if the “mobile” word exists in User-Agent
$isMob = is_numeric(strpos(strtolower($_SERVER[“HTTP_USER_AGENT”]), “mobile”));

if($isMob){
echo ‘Using Mobile Device…’;
}else{
echo ‘Using Desktop…’;
}