Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
675
Ultragrid and Combobox
posted

Hi,

I am using an UltraGrid and I need to add in one column of the grid  a comboBox or Dropdownlist

I would like to be able to type in the combobox some text and a filter will show only the value corresponding to the text that I type in

(Not only the first caracter of the display text)

Exemple : of value in the comboBox

return Value is a string type

Display value is also a string type

Value    Display Text (in the combo or dropdown)

100-01  Managing department 13

100-02  Dev department 34

100-03  Music department 53

So if I type sic the combo will show only the item 100-03  Music department 53 

If I type 13 the combo will show only the item 100-01  Managing department 13

If this is possible with an ultraGrid what type of drodown should I use to accomplish this

UltraComboeditor, UltraCombo or anything else

Also how to bind the data in the dropdown and the dropdown in the grid and the data filter if we have to add a dataFilter on the dropdown

Do you have any sample of code doing this

Thanks in advance

Parents
  • 6120
    Offline posted

    Hi Yann, 

    You can achieve this by adding UltraCombo to your Grid. You can refer to the following Knowledge Base article to know more about the dropdown list choices to place in a grid column.

    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7841 

    Can you please provide me more details about what you are trying to achieve by adding data filter? Data filter is used to transform data from one format to another. You can read more about it here:http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5014 

    Please refer to the sample attached for adding UltraCombo inside an UltraGrid column and let me know if you have any additional questions.

    UltraCombo Editor only supports “Starts with”, if you want to have “Contains” it should be a product idea. 

    You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>. 

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you. 

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.  You can also link back to this thread for additional details.

    Thank you in advance to submitting your product idea. 

    Sincerely,

    Sahaja Kokkalagadda

    Associate Software Developer, Windows Forms

    http://ko.infragistics.com/

    UltraComboInGridColumnSample (2).zip
Reply Children