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

  • Home
  • SEARCH
  • 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 8792463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:58:56+00:00 2026-06-13T22:58:56+00:00

I would like to add a column to my iggrid which is used to

  • 0

I would like to add a column to my iggrid which is used to display current users from my sqlserver db. As is typically done the row would appear as [ ‘username’ ’email’ ‘select’ ]
usinf the select to link to another mvc3 view which displays the users details. I could very easily do this using a table, however, my senior will only allow me to use the Infragistics Jquery IGGrid. And despite my research I’m at a loss. Any help would be greatly appreciated. My current code is the following:

@(Html.Infragistics().Loader()
        .ScriptPath(Url.Content("../../Scripts/Infragistics/js/"))
        .CssPath(Url.Content("../../Content/Infragistics/css/"))
        .Theme("infragistics")
        .Render()
    )

    @(Html.Infragistics().Grid(Model.users)
        //.DataSourceUrl("MCMonthlyAcctTotal")
        .ID("grid").Width("auto").Height("500px")
        .LoadOnDemand(false)
        .AutoGenerateColumns(false)
        .Columns(column =>
        {
            column.For(x => x.FirstName).HeaderText("First Name");
            column.For(x => x.LastName).HeaderText("Last Name");
            column.For(x => x.Email).HeaderText("Email");
            column.For(x => x.Injected).HeaderText("Date Created");
            column.For(x => x.UserName).HeaderText("Username");
            column.For(x => x.Modified).HeaderText("Last Date Modified");
        })

        .Features(features =>
        {
            features.Paging().Type(OpType.Local).VisiblePageCount(5).ShowPageSizeDropDown(true).PageSize(10).PrevPageLabelText("Previous").NextPageLabelText("Next");
            features.Sorting().Mode(SortingMode.Single).ColumnSettings(settings =>
            {
                settings.ColumnSetting().ColumnKey("CustomerID").AllowSorting(true);
            });
            features.Selection().MouseDragSelect(true).MultipleSelection(false).Mode(SelectionMode.Row);
        })
         .Width("auto")
         .DataBind()
         .Render()
    )

I hope someone will be able to give me a hand.

Thanks!!

  • 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-13T22:58:56+00:00Added an answer on June 13, 2026 at 10:58 pm

    Sounds like you are trying to do a “master-detail” scenario where one grid displays the Users and the other displays the UserDetails of the currently selected user. Is this correct? If this is so, I believe I have the solution for you in my SkyDrive account at http://skydrive.live.com/redir?resid=E4CF03E23FE33AFE!129

    Hope it works out for you!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to add a column from behind code to a data bound
I would like to add a column to the table which contains either of
I would like to add a column to every data frame in my R
I have a dataframe and would like to add a new column where the
I would like to add a custom calculation method to a managed object (which
In SQL Server 2008, I would like to add a column to a table
In the HTML table below, I would like to add a third column that
I would like to add to my existing table participants some columns from my
We're using bugzilla and I would like to add a column to a list
Basically i would like to add a new column in a table entitled product

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.