cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Business One Grid Column Get Sorting Type

0 Kudos
1,576

Hi,

I need to get whether grid column is sorted ascending or descending.

I have tried get it from GridSortAfter .

private void Grid0_GridSortAfter(object sboObject, SAPbouiCOM.SBOItemEventArg pVal)

pVal value only shows the column id not sort type.

How can i get the sort type asc or desc?

View Entire Topic
0 Kudos

Thanks Ankit,

But i dont want to order 2 columns.

I only need to know in which column is sorting and what is the sorttype of the column (ascending/ descending).

I can get the info about the valueof the column with GridSortAfter ( "pVal.ColUID" shows me "Banka Adı" column)

yet , by doing this i have no idea about the sortype of the mentioned column?(SAPbouiCOM.BoGridSortType)

How can i get column is sorted "descending".