Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tooltips


    I am creating filter for country, capital and continent, my requirement is i want to add tool tips for filter, when user hover on filter space it should display tool tip , is there any way to implement it ?
    isc.ListGrid.create({
    ID: "countryList",
    width:500, top:50, alternateRecordStyles:true,
    dataSource: worldDS,
    autoFetchData: true,
    fields:[
    {name:"countryName", title:"Country"},
    {name:"capital", title:"Capital"},
    {name:"continent", title:"Continent"}
    ],
    autoFitData: "vertical",
    showFilterEditor: true,
    autoFitMaxRecords: 10
    });

    #2
    You can specify hover text by applying a prompt to ListGridField.filterEditorProperties.

    Comment


      #3
      Can I have an example please, I am very new to Isomarphic.

      Comment


        #4
        Just change your fields like this:

        Code:
        ....
        fields: [
            { name: "country", title: "Country", filterEditorProperties: { prompt: "some hover text" } },
            ...
        ]
        ...

        Comment


          #5
          thanks a lot, it worked :)

          Comment

          Working...
          X