How to get the filtered records.

Answered (Verified) This post has 1 verified answer | 6 Replies | 3 Followers Thread's RSS feed.

Gajender
Points 2,566
Replied On: Thu, Mar 22 2012 12:32 PM Reply

I am looking to get the items filtered when user manually type a character in the Multi select combo. How can I get the filtered list?

  • Post Points: 20

Verified Answer

[Infragistics]Stefan
Points 78,623
Answered (Verified) Replied On: Tue, Mar 27 2012 4:13 AM Reply
Verified by Gajender

Hello Gajender,

 

I apologize I haven’t been clear enough. I meant that the Items Property of the XamMultiColumnComboEditor will return all the filtered-in Items, not just ones that are in view.

 

Hope this helps you.

Sincerely,
Stefan, MCPD
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support

  • Post Points: 25

All Replies

[Infragistics]Stefan
Points 78,623
Replied On: Fri, Mar 23 2012 6:02 AM Reply

Hello Gajender,

 

Thank you for your post. I have been looking into it and I suggest you look in the Feature Browser under xamMultiColumnComboEditor / Display / MultiColumnComboEditor Features section where  you can choose how to filter when the user types in the editor, FilterOnAllColumns or FilterOnPrimaryColumnOnly. Please let me know if this helps you or you need further assistance on this matter.

 

Looking forward for your reply.

Sincerely,
Stefan, MCPD
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support

  • Post Points: 20
Gajender
Points 2,566
Replied On: Fri, Mar 23 2012 11:05 AM Reply

Stefan,

I am looking for the list of filtered rows/items (and not the filter mode). When the user starting typing, the list gets filtered based on items match, how can I get the all these items?

Here is the full scenario:
I have customize this control to all 3 buttons on the right in popup (SelectAll /Invert /None). When the user type in, the list of filtered and only few records are displayed. Now, if the user click the SelectAll button, he should be able to select all filtered records and not the all records in combobox. For more clearity I have attached image to show filtered list. Please help me on how to acheive it.


  • Post Points: 35
[Infragistics]Stefan
Points 78,623
Replied On: Mon, Mar 26 2012 2:56 AM Reply

Hello Gajender,

 

You can use the XamMultiColumnComboEditor’s Items collection Property to get the Items you need, because it contains the Items that are in view in the Editor.

 

Hope this helps you.

Sincerely,
Stefan, MCPD
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support

  • Post Points: 20
Gajender
Points 2,566
Replied On: Mon, Mar 26 2012 10:15 AM Reply

Stefan,

I already tried that one. That will not work as I am looking for all filtered items which can be more than just items in view. In case of country list, when I the user type 'I', there are 198 items in the filter list out of which only 19 are viewable (others can be viewed only user scrolls down). I will be looking to get all 198 filtered items rather just 19 viewable.


  • Post Points: 20
[Infragistics]Stefan
Points 78,623
Answered (Verified) Replied On: Tue, Mar 27 2012 4:13 AM Reply
Verified by Gajender

Hello Gajender,

 

I apologize I haven’t been clear enough. I meant that the Items Property of the XamMultiColumnComboEditor will return all the filtered-in Items, not just ones that are in view.

 

Hope this helps you.

Sincerely,
Stefan, MCPD
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support

  • Post Points: 25
tarakdave
Points 110
Replied On: Mon, Oct 8 2012 7:14 AM Reply

Hello Gajender,
I want to know how did you marked the matched text typed by user.
I also want to change background color to yellow .
Can you suggest me ? 

  • Post Points: 5
Page 1 of 1 (7 items) | RSS