What do you mean by datagrid? You can use all possibilities of HTML, JavaScript and CSS to achieve the result. PHP is server-side language while you need nice client-side interface for showing the data. So your question isn't correct a little bit. Please, describe what you would like to see and I'll help you.
You can also take a look at
jQuery UI