custom buttons in navigation

custom buttons in navigation

nm_alexnm_alex Posts: 26Questions: 0Answers: 0
edited March 2011 in General
Dear all!

Is it possible to add custom buttons to the header of a table, where the search box appears?
Here is an example of what I want to have: https://picasaweb.google.com/lh/photo/T01d1_TX2-mG1aduOc9DeX1nlhe0OfcWwCHsoj9flms?feat=directlink

best regards

Alex

Replies

  • anjibmananjibman Posts: 115Questions: 10Answers: 0
    I am also trying to add custom button like we have in Gmail (delete, spam, etc.) How we can do that?
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    edited August 2011
    you can add arbitrary divs with id or classnames to the sDom
    [code]
    // in your initialization
    sDom: '>t',
    [/code]

    then use css or javascript/jquery to add an image, link, etc to that div
    [code]
    // in CSS
    #hi:after {
    content: url(gmail.jpg);
    }
    [/code]

    or

    [code]
    // in JQuery
    $('#hi').append("");
    [/code]
This discussion has been closed.