programaticaly selecting a row

hi all.
my ggc is bounded to a dataview.
i want to set row nuber 4 to be selected,and ensurevisible=true (and open it's grouping parent if nessary.
how can i do it?

9 Replies

AD Administrator Syncfusion Team February 14, 2007 02:06 AM UTC

Hi,

It is possible to make a particular row visible and also open it's parent group, if necessary. Here I attached a sample for your reference.
GGC.zip

Thank you,
shyam


SS Shachar Shimshon February 18, 2007 07:02 AM UTC

hi shyam.
this code work's fine, but it dosen't set the CurrentElement.
how can set it?

>Hi,

It is possible to make a particular row visible and also open it's parent group, if necessary. Here I attached a sample for your reference.
GGC.zip

Thank you,
shyam


AD Administrator Syncfusion Team February 19, 2007 08:16 PM UTC



>hi shyam.
this code work's fine, but it dosen't set the CurrentElement.
how can set it?

>Hi,

It is possible to make a particular row visible and also open it's parent group, if necessary. Here I attached a sample for your reference.
GGC.zip

Thank you,
shyam


AD Administrator Syncfusion Team February 19, 2007 08:26 PM UTC

Hi shachar,

Here is a forum that discuss with the simillar issue.

http://www.syncfusion.com/support/forums/message.aspx?&MessageID=56647

Thank You,
S.Shyam.


>

>hi shyam.
this code work's fine, but it dosen't set the CurrentElement.
how can set it?

>Hi,

It is possible to make a particular row visible and also open it's parent group, if necessary. Here I attached a sample for your reference.
GGC.zip

Thank you,
shyam


AD Administrator Syncfusion Team February 19, 2007 08:41 PM UTC


Hi shachar,

Here is a forum that discuss with the simillar issue.

http://www.syncfusion.com/support/forums/message.aspx?&MessageID=56647

Thank You,
S.Shyam.


SS Shachar Shimshon February 20, 2007 05:58 AM UTC

hi,
in the attached picture you can see in the upper ggc, that your code works a bit strange.
when i have only 3 rows,grouped by a column, and i wrote your code this is the resault. the rows appear in the buttom of the ggc.
i attched the c# function also.

>hi shyam.
this code work's fine, but it dosen't set the CurrentElement.
how can set it?

>Hi,

It is possible to make a particular row visible and also open it's parent group, if necessary. Here I attached a sample for your reference.
GGC.zip

Thank you,
shyam

ggc10.zip


AD Administrator Syncfusion Team February 22, 2007 07:16 PM UTC

Hi shachar,

I saw your image, I am not getting clear, no such error found on me. Could you send your sample program files, so that it is helpful me to solve that issue.

Here I attached my samples I could not find any such issue.

http://www.syncfusion.com/Support/user/uploads/GGC_Expand_16ecf2ec.zip

GGC_Expand.zip


Thank you,
S.Shyam.


SS Shachar Shimshon February 23, 2007 11:04 AM UTC

mabe my problem has to do with my sorting the datasource(dataview)
can you plaese explane what is the unsorted collection?


>Hi shachar,

I saw your image, I am not getting clear, no such error found on me. Could you send your sample program files, so that it is helpful me to solve that issue.

Here I attached my samples I could not find any such issue.

http://www.syncfusion.com/Support/user/uploads/GGC_Expand_16ecf2ec.zip

GGC_Expand.zip


Thank you,
S.Shyam.


AD Administrator Syncfusion Team February 27, 2007 07:12 PM UTC

Hi Shachar,

what is the unsorted collection?

UnsortedRecords is a collection of unsorted elements that are children of a table and represent the original records in the same order as the underlying data source. The collection
provides support for determining a record's underlying position in the datasource using the UnsortedRecordsCollection.IndexOf method.

Thanks for your patience.
Regards,
Shyam

Loader.
Up arrow icon