hi,.
1. how can i sort (up and down) the TIWDBadvWebGrid?
i set AsyncSorting:=True and tryed changing TIWDBadvWebGrid1.SortSettings.Direction:=sdAscending and sdDescending in code and clicking the column headers but nothing happened.
i also checked that the CanSort of the Columns are True.
2. showing : WebApplication.ShowMessage('Row='+IntToStr(RowIndex)+' Col='+ IntToStr(ColumnIndex));
shows the row/col i clicked,
but : WebApplication.ShowMessage(TIWDBAdvWebGrid1.CellValues[RowIndex, ColumnIndex]);
doesn't show the proper info of the clicked-cell
what am i missing please?
thanks
oops...
sorry guys, my mistake replacing row and col locations...
(noob mistake)
but still have problems with question number 1
thanks and sorry again...
ok, so i'll replace question number 2 with this :
"2." is there something like the IWDBGrid's CellPadding property?
thanks
For the TIWDBAdvWebGrid sorting is not handled automatically.
The database query should programmatically be adapted to the sort settings using the OnSortClick or OnAsyncSortClick event.
You can use the Borders.Padding value to add padding to the IWDBAdvWebGrid cells.