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 6345911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:54:52+00:00 2026-05-24T20:54:52+00:00

I am trying to style only one row (from the client) of a Grid.

  • 0

I am trying to style only one row (from the client) of a Grid.

Here is my setup:
I am using Ajax binding to load the initial Grid data. After that, I am editing all data from the Client side based on events from other controls. So, a user may click some other control which causes a row to be “highlighted” on my Gird (without ever actually touching the grid).

I did some inspecting (with firebug) and see that the in the table that gets created does not have an ID or a class (except the alternating rows) so I don’t see a way to access that element. I would like to use jQuery and call the .addClass() and .removeClass() methods on the rows, but I don’t quite know how to access them. At this point I will take any solution … so, is this something that is possible?

Thanks in advance for any help!

  • 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-05-24T20:54:53+00:00Added an answer on May 24, 2026 at 8:54 pm

    You could always use the client-side row template and re-bind the grid when these external actions occur. Here’s Telerik’s example of the client-side row template to be used when doing ajax binding:

    <%= Html.Telerik().Grid<Customer>()
       .Name("Grid")
       .DataBinding(dataBinding => dataBinding.Ajax().Select("Action", "Controller"))
       .Columns(columns =>
       {
           columns.Bound(c => c.CustomerID);
           columns.Bound(c => c.ContactName);
           columns.Bound(c => c.Country);
       })
       .ClientRowTemplate(grid => "<ul>" +
               "<li>CustomerID: <#= CustomerID #></li>" +
               "<li>Contact Name: <#= ContactName #></li>" +
               "<li>Country: <#= Country #></li>" +
            "</ul>" 
       )
    %>
    

    This might allow you to inject information into each row you can use to highlight.

    More documentation about it on Telerik’s site.

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

Sidebar

Related Questions

I'm trying to apply a style that will highlight the whole row if one
I'm trying to style a TreeView using this example and everything was working fine
I'm trying to style a button using <input type=button> instead of just <button> .
I'm trying to style a select option list using CSS. I want more padding
I'm trying to style a table row based upon a value in the databound
I'm trying to change the properties for the links in only one specific dev
Is it possible to position one element relative to another specific element using only
I am trying to style some links in my navbar. Since I am using
I am trying to switch between different resolutions (original-standard-high) of an image using ONLY
I'm trying to create a simple ajax load test script that dynamically creates divs,

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.