TArrayBrowse:sort - Inverted mode?
Publicado: Mié Oct 13, 2021 11:20 pm
Hi,
I need to start a column in descending order, but this will be ascending:
So I changed it to: (works, but it's weird. I also understand that this was done for the title click)
My suggestion, add the mode in the method:
regards,
I need to start a column in descending order, but this will be ascending:
Código: Seleccionar todo
oCol:nSort:=nMode // bsDESCENDING
oBrw:sort(oCol)
Código: Seleccionar todo
oCol:nSort:=IF( nMode = bsDESCENDING, bsASCENDING, bsDESCENDING )
oBrw:sort(oCol)
Código: Seleccionar todo
METHOD Sort( oCol, nMode ) CLASS XArrayBrowse