Grouping with foreign key mechanism

3 posts, 0 answers
  1. Michel
    Michel avatar
    44 posts
    Member since:
    Sep 2011

    Posted 10 Feb Link to this post

    Hi,

    I would like to know if we can have a sort of foreign key mechanism in the Group method of the DropDownlist.

    My goal is to group the item using a PrimaryKey (that is an Id of my records) but displaying the value of the record instead

    of the Id in the label of the group displayed when the Dropdownlist is expanded.

    Thanks.

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2115 posts

    Posted 14 Feb Link to this post

    Hello Michel,

    You can define group template and manually find the corresponding text value from the passed value field value as shown in the following dojo example:

    Best Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Michel
    Michel avatar
    44 posts
    Member since:
    Sep 2011

    Posted 14 Feb in reply to Konstantin Dikov Link to this post

    Hi Konstantin,

    Great,

    Thank you for your help

Back to Top