I'm new to the Infragistics package, and have inherited an application to support full of Infragistics. I got a call saying that the grid column sort was not working. Then someone noticed that when data is in the grid over a multitude of years, and it is sorted, all of the 1's are grouped together (like Jan 1, 2007, Jan 1, 2008, Feb 1, 2004....) and all of the 2's and all of the 3's.....anyway, this is data from an Oracle table, and since Oracle stores dates like '01-JAN-2007', I'm guessing that's why it is getting sorted in DAY order. I need it sorted in regular date order. It's taken me a while to even figure out where the "sort on" feature is (where I found it was in the Designer, under Feature Picker, under Header Click Sort Action, Single Column Sorting is checked). Can anyone help?
Hi,
I have posted the following question as separate thread(
. I am unable to find the solution. So i am posting here. Please help me in finding the solution.
I am converting a VB application in to Dot Net. In VB earlier FPSpread is used to display the data and now we are using UltraGrid. The problem is while sorting coloumns in FPSpread, we can mention the range of coloumns to be sorted as given below:
fpObjects.SortKey(1) = COL_SEVERITYHIDDEN
fpObjects.col = 1 fpObjects.Col2 = fpObjects.MaxCols (in present case 7) fpObjects.Row = 1 fpObjects.Row2 = fpObjects.MaxRows (in present case 6) fpObjects.Action = ActionSort
The description for fpObjects.col and fpObjects.Col2 given in fpspread are "Sets or returns a specific column or specifies the first column of a block of cells on which an operation is to occur." and "Sets or returns the last column of a block of cells on which an operation is to occur."
Do we have any such properties in Ultra Grid, where we can sort a particular range of coloumns i.e., from coloumn 1 to 7 and from Row 1 to 6.
Thanks,
Pradeep
Pardeep,
There is no way to sort the images since there is no way to determine whether a given image is "less than" another image. You would have to implement the IComparer interface yourself and assign that to the SortComparer property on the column.
-Matt
Hi amit,
I am having once issue with sorting the image,.I am using UltraWingrid. The column data type is "Bitmap". I have assigned image normally as we do for Text. My requirement is when i click on column header, these images should be sorted. So, Please help me in sorting the images.
Regards,
Well, I'm glad this thread is already posted. I am having the same issue. Going to try passing the value as datetime and then format it. Thanks.
HOWTO:Sorting one WinGrid column by evaluating another column.