Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8766029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:26:40+00:00 2026-06-13T16:26:40+00:00

I am completely new to Kendo UI, so maybe I missing something, but after

  • 0

I am completely new to Kendo UI, so maybe I missing something, but after reading the docs API: http://docs.kendoui.com/api/framework/model it seems Kendo is limited only to work with single ID.

For example, let’s say I have a grid in which each row is identified by pair of values (because underlying data have such constraint). So, if I’ve read it right there is no straightforward way to express this in Kendo?

One workaround I can think of is creating some ad-hoc value which is encoded ids like “value1|value2” (string) and when getting data back from UI, decoding them back.

Is there any more clear way?

Specific example

To focus on something substantial:

http://demos.kendoui.com/web/grid/editing-inline.html

and the relevant code is (from .cshtml file):

.Model(model => model.Id(p => p.ProductID))

in my case it would be (the simplest way I can think of):

.Model(model => model.Id(p => p.ProductComboId1Id2))

where ProductComboId1Id2 is a string encoded as described above.

Solution (sort of)

See at the bottom of the page, it was a problem with Kendo installation. Installer script didn’t install one crucial .js file and entire framework went weird. My problem was one of those misbehaviours.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:26:42+00:00Added an answer on June 13, 2026 at 4:26 pm

    You can use multiple IDs on a single grid. Below I’ve included syntax for declaring them as well as how to access them via javascript.

    Declaration

            .Model(model =>
            {
                model.Id(i => i.ProductID);
                model.Id(i => i.ProductID2);
            })
    

    Accessing

    function GetIDs() {
    var itemGrid = $("#GRIDNAME").data("kendoGrid");
    var dataItem = itemGrid.dataItem($(this));
    var ID1 = dataItem.ProductID;
    var ID2 = dataItem.ProductID2;}
    

    function GetID() would be invoked on the grid like this through the row’s command column:

            columns.Command(command =>
            {
                command.Custom("Edit").Text("Edit").Click("GetIDs");
                command.Destroy();
            });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Completely new bee in web services. I am having the url as: http://abc.xyz.com/straw/api/?wsdl and
Being completely new to Enterprise Java development and after reading the following tutorial.I managed
Completely new to most of this stuff, but basically Im playing around with the
I am completely new to HTML5 and have been reading about it for the
I'm completely new to javascript, but I'm trying to create a beta form for
Im completely new to Java web stuff, but here goes my question: 1) How
I'm completely new to Rails, but I've done quite a bit of searching and
Being completely new to Java EE (but not to Java itself) I'm trying to
I'm completely new to databases, and have put something simple together using the helpful
Im completely new to Zend Framework and the concept of MVC as well. What

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.