What happened with RadMulticolumnComboBox

14 posts, 0 answers
  1. Norman Giovanni
    Norman Giovanni avatar
    1 posts
    Member since:
    Jul 2010

    Posted 17 Aug 2010 Link to this post

    Hi!

    I was very pleased using radmulticolumncombobox in winforms and now using WPF there is not such component. I would like to know why isn't into? and we could expect further release? or is it possible make a custom control? so, I appreciate so much your guide about it.

    thanks
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Aug 2010 Link to this post

    Hello Norman,

    Thank you for contacting us.

    You can use the ItemTemplate property of the ComboBox to create a template that will fit your requirements. You can find an example in this online demo.

    Hope this helps. If you need further assistance please let us know.

    Kind regards,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 22 May 2019 Link to this post

    hiii...how to filter RadMulticolumnComboBox specific column ? in the attached image i want to filter that second column...how it can be possible ?
  4. Dinko
    Admin
    Dinko avatar
    1144 posts

    Posted 27 May 2019 Link to this post

    Hi raneesras,

    Thank you for the provided image.

    Searching in a specific column is not supported out of the box. Basically, the default mode of the search behavior is StartsWith, so when you type "F" only the cell which starts with this letter will be highlighted. To change this behavior you can use the SearchStateManager property to change the AutoCompleteMode to Search.

    public MainWindow()
    {
        InitializeComponent();
        this.mccb.SearchStateManager.AutoCompleteMode = SearchAutoCompleteMode.Search;
    }

    Hope this will work on your side.

    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 28 May 2019 Link to this post

    Thank You....!!!
  6. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 07 Aug 2019 in reply to Dinko Link to this post

    hello...see the attached picture...how to remove this default selection in  RadMulticolumnComboBox 
  7. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1137 posts

    Posted 09 Aug 2019 Link to this post

    Hello raneesras,

    Thank you for the provided image.

    The item you've highlighted is not actually selected but is set as the CurrentItem of the RadGridView control inside of the popup of the RadMultiColumnComboBox. You can either set the CurrentItem of the grid to null once the dropdown opens or hide the row indicator element completely via the RowIndicatorVisibility property. You can do so in the PreparedCellForEdit event of the parent RadGridView:

    private void Grid_PreparedCellForEdit(object sender, GridViewPreparingCellForEditEventArgs e)
    {
        var combo = e.EditingElement as RadMultiColumnComboBox;
        if (combo != null)
        {
            combo.AddHandler(RadDropDownButton.DropDownOpenedEvent, new RoutedEventHandler((s, a) =>
            {
                Dispatcher.BeginInvoke(new Action(() =>
                {
                    (combo.DropDownContentManager.DropDownElement as RadGridView).CurrentItem = null;
                    (combo.DropDownContentManager.DropDownElement as RadGridView).RowIndicatorVisibility = Visibility.Collapsed;
                }));
            }));
        }
    }

    Please let me know whether such an approach would work for you.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  8. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 10 Aug 2019 in reply to Dilyan Traykov Link to this post

    hii Dilyan Traykov  how do i get this event ?

    regards,

    Ranees Ras

  9. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1137 posts

    Posted 12 Aug 2019 Link to this post

    Hi raneesras,

    I've prepared a small sample project to demonstrate how to handle the PreparedCellForEdit event. You can edit the values in the Captain column to see that the row indicator is collapsed.

    Please let me know whether you're able to apply this method at your end.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  10. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 13 Aug 2019 in reply to Dilyan Traykov Link to this post

    hii Dilyan Traykov   i can't access that event because i am using RadMultiColumnComboBox as GridViewColumn CellTemplate 

     

  11. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1137 posts

    Posted 14 Aug 2019 Link to this post

    Hi raneesras,

    Thank you for the clarification.

    In such case, you can use the CellLoaded event of the control in a similar fashion:

    private void Grid_CellLoaded(object sender, Telerik.Windows.Controls.GridView.CellEventArgs e)
    {
        var combo = e.Cell.Content as RadMultiColumnComboBox;
        if (combo != null)
        {
            combo.AddHandler(RadDropDownButton.DropDownOpenedEvent, new RoutedEventHandler((s, a) =>
            {
                Dispatcher.BeginInvoke(new Action(() =>
                {
                    (combo.DropDownContentManager.DropDownElement as RadGridView).CurrentItem = null;
                    (combo.DropDownContentManager.DropDownElement as RadGridView).RowIndicatorVisibility = Visibility.Collapsed;
                }));
            }));
        }
    }

    I've updated the sample project to demonstrate this. Alternatively, you can set the CellEditTemplate instead and use the approach suggested in my previous reply for handling the PreparedCellForEdit event.

    I hope any of these approaches works for you.

    Regards,
    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  12. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 19 Aug 2019 in reply to Dilyan Traykov Link to this post

    Thnak you Dilyan Traykov...........its worked
  13. Ras Ran
    Ras Ran avatar
    140 posts
    Member since:
    Nov 2018

    Posted 23 Oct 2019 Link to this post

    hii i want to make RadMulticolumnComboBox  item editable...when i am trying to press BackSpace button....the whole text getting clear....i want to make it editable...can you please give me a solution for this ?? please check my attached file 
  14. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    1137 posts

    Posted 23 Oct 2019 Link to this post

    Hi ranees,

    I just responded to the other forum thread you posted this inquiry on. In the future, please be so kind as to refrain from creating duplicate posts on the same topic. I'm also pasting my reply here for your convenience.

    "To achieve the desired result, you can define a custom SelectionBoxTemplate and define a TextBox bound to the displayed property. Please note that in this case you would need to focus the TextBox when hitting the backspace button to edit the item itself and not remove it.

    I've prepared a small sample project in order to demonstrate the approach I have in mind. I hope you find it helpful."

    Regards,
    Dilyan Traykov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top