sort grid

G

Guest

I need to make my grids sortable when the user clicks a header (I know how to
do use using SQL) but how make the grids columns sorttable when the grids are
populated via a Oracle Stored Procedure?

My grids(9 grids) have 8 columns and all but 2 columns must be sorttable.

can this even be done if so any examples on how to do it?
 
L

Laiju Skaria

U can do that by setting the AllowSorting Property of the grid to True. And
then attach the appropriate handler to the SortCommand Event.

cheers,
Laiju
 
G

Guest

but in using Srored procdures how would it work and do i have to a call a new
routine to bind the grid again?
 
L

Laiju Skaria

u can use the same sp, pass the sortorder as a param and return the records
on the specified sort order..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top