Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Trucos (https://www.clubdelphi.com/foros/forumdisplay.php?f=52)
-   -   Ordenar Grid Columnas Firedac (https://www.clubdelphi.com/foros/showthread.php?t=92560)

oscarac 27-11-2017 16:58:14

Ordenar Grid Columnas Firedac
 
bueno, por si a alguien le interesa hacerlo en FireDac
lo hice de esta manera

Código Delphi [-]
procedure TfrmCatalogoAlmacen.dbgAlmacenTitleClick(Column: TColumn);
begin
  if qryAlmacen.IndexFieldNames = Column.FieldName then
    qryAlmacen.IndexFieldNames := Column.FieldName + ':DN'
  Else
    qryAlmacen.IndexFieldNames := Column.FieldName;

end;


La franja horaria es GMT +2. Ahora son las 22:32:17.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi