Skip to content

Replies

0
[Infragistics]Joshee
[Infragistics]Joshee answered on Oct 31, 2016 3:29 PM

Hi Jayson,

Currently there is no method available to convert an IEnumerable to a RowsCollection. You can Submit a Feature Request  and perhaps this can be added as a feature in a future release.

Thank you for using Infragistics Components.
Please let me know if I can provide you any further assistance.

Josheela

0
[Infragistics]Joshee
[Infragistics]Joshee answered on Oct 28, 2016 9:45 PM

Is it possible for you to change the method to use IEnumerable as argument instead of rows Collection so that you can pass the enumerator which itself is the RowsCollection.

0
[Infragistics]Joshee
[Infragistics]Joshee answered on Oct 28, 2016 4:26 PM

As you can see, GetRowEnumerator returns a RowsCollection of GridRowType. But at this point we don't have a direct way of converting it to a RowsCollection.

It would be great if you can provide me a sample of your own so that I will have a clear understanding of your requirement and can assist you better.

Looking forward to hearing you back.

0
[Infragistics]Joshee
[Infragistics]Joshee answered on Oct 27, 2016 4:28 PM

Hi Jayson,

GetRowEnumerator method gets all the rows associated with Bands[1].As you see in the below screenshot I have selected all rows in the Bands[1].

0
[Infragistics]Joshee
[Infragistics]Joshee answered on Oct 26, 2016 8:18 PM

Hi Jayson,
You can use the GetRowEnumertor method to loop through the entire WinGrid or all rows in a particular band or rows collection.
It is not possible to convert SelectedRowsCollection to a RowsCollection.

Thanks,
Josheela