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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:29:19+00:00 2026-06-16T11:29:19+00:00

I have a grid populated with data and i want to show only 3

  • 0

I have a grid populated with data and
i want to show only 3 or 2 columns and hide rest of columns cause the grid goes very wide.
when the mouse is hovered over a row i want to show all the columns of that row as as popup /tooltip form.

Please help me with this. I searched a lot and only found out Editable popup and with button click not with hover.

function PopulateGrid() {
    $("#recentNews").kendoGrid({

        columns: [
            { field:      'Date', title: 'Date', width: 80,
                template: '#=kendo.toString(toDate(NewsDate), "yyyy/MMM/dd") #'
            },
            { field:      'TradeTime', title: 'Time', width: 60,
                template: '#=kendo.toString(toDate(NewsTime), "hh:mm:ss") #'
            },

            { field: 'Title', title: 'Description', width: 200 },
            { field: 'Country', title: 'Country', width: 40 },
            { field: 'Economy', title: 'Economoy', width: 40 }

        ],

        dataSource: {
            transport: {
                read: {
                    url:      'Home/GetNews',
                    dataType: "json",
                    type:     "POST"
                }
            },
            schema:    {
                data:  function (data) {
                    return data.data;
                },
                total: function (data) {
                    return data.total;
                }
            },
            pageSize:  100

        },
        //            change: onChange,
        //          dataBound: onDataBound,
        dataBound:  HoverOnGrid,
        pageable:   true,
        sortable:   true,
        scrollable: true,
        height:     565,
        width:      2000
    });
}
  • 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-16T11:29:20+00:00Added an answer on June 16, 2026 at 11:29 am

    There are two separate questions about what you are trying to implement:

    1. Bind hover to the Grid rows (easy).
    2. Generate a popup / tooltip that shows the rest of the columns (easy but requires some amount of coding).

    Since it seems that you have already defined a function called HoverOnGrid lets write it as:

    function HoverOnGrid() {
        $("tr", "#recentNews").on("mouseover", function (ev) {
            // Invoke display tooltip / edit row
            var rowData = grid.dataItem(this);
            if (rowData) {
                showTooltip(rowData);
            }
        });
    }
    

    where grid is:

    var grid = $("#recentNews").kendoGrid({
        ...
    }).data("kendoGrid";
    

    Now, the tricky question, how to show a tooltip / popup… There is no predefined way of doing it, you should do it by yourself. The closes that you can get is defining HoverOnGrid as:

    function HoverOnGrid() {
        $("tr", "#recentNews").on("click", function (ev) {
            grid.editRow(this);
        })
    }
    

    and the Grid initialization say:

     editable:   "popup",
    

    But this opens a popup but with fields on edit mode (something that you can hack defining in the dataSource.schema.model that all fields are not editable:

    model: {
        fields: {
            Date:      { editable: false },
            TradeTime: { editable: false },
            Title:     { editable: false },
            Country:   { editable: false },
            Economy:   { editable: false }
        }
    }
    

    But it still shows update and cancel buttons in the popup.

    So, my recommendation is writing a piece of code that creates that tooltip.

    EDIT: For hiding the tooltip you should first intercept the mouseout event:

    $("tr", "#recentNews").on("mouseout", function (ev) {
        // Hide Tooltip
        hideTooltip();
    });
    

    where hideTooltip might be something as simple as:

    var tooltipWin = $("#tooltip_window_id").data("kendoWindow");
    tooltipWin.close()
    

    assuming that you are always using the same id for the tooltip (in this example, tooltip_window_id).

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

Sidebar

Related Questions

i have data-grid in my application and i want to customize my data-grid so
I have a grid with some controls inside. I want to hide the grid
I have a jqGrid populated with data, but I want to change how this
I have a DataGrid with data populated from an XML binding. I want to
I have a GridView that gets populated with data from a SQL database, very
I have a tab panel that gets populated with a grid when a button
I have grid with some textboxes and an image which goes out of grid
I have grid something like this: Ext.define('Exp.view.dashboard.Tv', { extend: 'Ext.grid.Panel', initComponent: function() { this.columns
I have grid of images, when the mouse is over any given image a
I have a grid which I would like to show extra information with RowExpander

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.