jQWidgets Forums

jQuery UI Widgets Forums Grid Tooltips for Grid cells

This topic contains 5 replies, has 4 voices, and was last updated by  nikitaso 12 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Tooltips for Grid cells #9756

    kkasunperera
    Member

    Is there any possibility to set tooltips to grid cells. If yes can you guys provide me some hints or examples how to do that

    Tooltips for Grid cells #9757

    Dimitar
    Participant

    Hello kkasunperera,

    Yes, tooltips are available to jqxGrid after setting the enabletooltips property to true. You can see them in action in jqxGrid’s Default Functionality demo.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Tooltips for Grid cells #9758

    kkasunperera
    Member

    thanks for the quick reply, but it’s not exactly what I want. Is there possibility to set some other value to the tooltip other than the cell value. i.e. if I display some ontology terms in the cell, is it possible to display the definition of the corresponding cell term?

    Tooltips for Grid cells #9759

    Dimitar
    Participant

    Hi kkasunperera,

    Unfortunately, this functionality is not supported by jqxGrid.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Tooltips for Grid cells #13524

    DavidSimmons
    Participant

    I could really use custom tooltips on Grid Cells. I think there are others that would like this feature, please consider this request….

    Tooltips for Grid cells #14380

    nikitaso
    Participant

    var salesRenderer = function (row, datafield, value) {
    return “< a on-Click= >sales”;
    };

    var customersListDataFields = [
    { name: ‘CustomerId’ },
    { name: ‘CustomerName’ }];

    var customersListColumnDefs = [
    { text: ‘Customer Name’, datafield: ‘CustomerName’, columntype: ‘textbox’, width: ‘auto’, cellsalign: ‘left’ },
    { text: ‘Voice’, cellsrenderer: salesRenderer, columntype: ‘textbox’, width: ‘auto’, cellsalign: ‘left’ }
    ];

    var showSales = function (s) {

    $(s).qtip({
    content: {
    text: ‘Loading…’, // The text to use whilst the AJAX request is loading
    ajax: {
    url: ‘/customers/showcustomertooltipcontentfromserver’, // URL to the local file
    type: ‘GET’, // POST or GET
    data: {} // Data to pass along with your request
    }
    }
    });

    $(s).qtip(‘toggle’, true);
    };

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.