Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3550
override css definitions
posted

I try to follow the article

http://ko.infragistics.com/community/blogs/engineering/archive/2010/08/25/webdatagrid-css-styling-guide.aspx?CommentPosted=true#commentmessage

in order to define the css caption definitions.

 

I set HeaderCaptionCssClass = "GridHeader";

in OnLoad

 

I then define css:

tbody>tr > th.GridHeader
{
        border-color: Black;
        border-style: inset;
        border-width: 1px;
        text-align: center;
        background-image: url(../Images/tableKoter.jpg);
        background-repeat: repeat;
        background-color: #e9eff4;
        color: Black;
        font-weight: bold;
        direction: rtl;
        font-family: "Arial (Hebrew)";
        font-size: 15px ;
}

The browser does take my definitions.

The problem is, that I still get some of the definitions of igg_HeaderCaption , such as padding-bottom .

I dont want this definitions.

Does that mean, that I need to override, each definition in igg_HeaderCaption.

I would like if possible, to dismiss all the definitions of igg_HeaderCaption.

 

Parents
No Data
Reply
  • 15979
    posted

    Hello drpoalim,

    In this situation (if you do not want to override most of the class styles) you can override the entire class itself.

    You can do this by adding class with the same name on your page which will be then used by the grid instead of IG class provided in “ig_res” folder.

    Use this approach and inform me if it is working in your scenario.

Children