prasmalla,
I found DrasticData as I was looking for a data-grid package to use (I'm pretty poor at UI - I need all the help I can get!). My primary need was to be able to select a sub-set of the entire table... like your need.
So using the documentation from the site, I created a 'solution.' The whole solution is posted at:
dissectionbydavid.wordpress.com/201 ...
Short version is this:
1) create a new drop-down that shows unique, primary keys
2) alter the AJAX/javascript to use this new drop-down
3) alter the original class (per it's own comments/notes) to 'grab' the $_REQUEST being sent by step 2
4) extend the 'select()' function of the original class to SELECT * FROM $this->table WHERE YourPrimaryKeyHere = ‘$theVariableFromStep3’” . $this->orderbystr, ...
Personally, I ended up creating a new function that grabbed a list of unique primary-keys that I then used to create the drop-down in step 1 above. A quick-hack would be to create your own drop-down (that's what I show in the link above) of primary keys.
Hope that helps... heck, I hope you check back!
David