Skip to content

Replies

0
Pradeep
Pradeep answered on Nov 27, 2008 8:34 AM

 Hi,

I have one more problem.How to give sort indicators to all the columns, when i click on one column header. When i click on 1st column header, sort indicators should be given to all the columns, sorting should be done based on this.

Regards,

Pradeep. 

 

0
Pradeep
Pradeep answered on Nov 26, 2008 5:18 PM

 Hi,

 I have one more problem.  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 

0
Pradeep
Pradeep answered on Nov 26, 2008 7:22 AM

Hi,

I have one more doubt regarding sorting. How to display the data in sorted order(Based on any column number given by us) while displaying data on the UltraWingrid for the first time(With out clicking on ultrawingrid). 

-Pradeep 

0
Pradeep
Pradeep answered on Nov 26, 2008 7:16 AM

Hi Matt,

Thanks for the reply. This is working fine for me.

 Regards,

Pradeep 

0
Pradeep
Pradeep answered on Nov 25, 2008 1:58 PM

Hi Mike,

 This is pradeep. I am having one issue with Ultrawingrid regarding sorting. When the data is loaded for the first time, when i click on column header, it  is sorting correctly. But the problem is, when the data is unloaded, this sorting(column sorting) is still enable, which means when i load the data once again, it is displaying data in sorted order(Taking previous column header click as reference). "When the data is unloaded, i need sorting to be disabled,  which means after the data is loaded again, data should be sorted when we click on column header again." I have used the above mention method for sorting the data. So please give me a solution.

Regards,

Pradeep 

 

 

0
Pradeep
Pradeep answered on Nov 14, 2008 4:42 PM

 Hi Mike,

Thanks for the reply. I have read your previous post, but little bit confused. Now I got the solution from your reply. Now i am using GetContext for cell. Its working fine for me.

Regards,

Pradeep. 

0
Pradeep
Pradeep answered on Nov 14, 2008 10:55 AM

 Sorry, I have not mentioned the code. I am talking about the code mentioned above..

Regards,

Pradeep.