1 Replies - 3033 Views - Last Post: 02 July 2015 - 07:23 PM Rate Topic: -----

#1 jscriptor09   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 24-June 15

tooltip for ASP MVC WebGrid Column Title

Posted 24 June 2015 - 02:18 PM

Hi

Is there a way to add tooltip to ASP NET MVC column Title so that when the user hover over the Title, it shows a text about the column or field?

Thanks

        
@grid.GetHtml(tableStyle: "webgrid-table",
            headerStyle: "webgrid-header",
            footerStyle: "webgrid-footer",
            alternatingRowStyle: "webgrid-alternating-row",
            rowStyle: "gridrow",
            numericLinksCount: 20,
            mode: WebGridPagerModes.All,
            firstText: "<< First",
            previousText: "< Previous", nextText: "Next >",
            lastText: "Last >>",
            columns: new[]{
                grid.Column("", header: "", format: @<text> <input type="checkbox" name="actionCheckBox[]" class="actionCheckBox" /> </text>),
                grid.Column("COLUMN1_text","COLUMN1_text"),
                grid.Column("COLUMN2_text","COLUMN2_text"),
                grid.Column("COLUMN2_date",format:(item) => item.COLUMN2_date != null ? item.COLUMN2_date.ToString("dd-MMM-yyyy"): "", canSort: true),
.
.
.
}) 



Is This A Good Question/Topic? 0
  • +

Replies To: tooltip for ASP MVC WebGrid Column Title

#2 Damage   User is offline

  • Lord of Schwing
  • member icon

Reputation: 300
  • View blog
  • Posts: 1,989
  • Joined: 05-June 08

Re: tooltip for ASP MVC WebGrid Column Title

Posted 02 July 2015 - 07:23 PM

have you had a look at something like QTip
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1