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
3760
WHDG - First row style
posted

Hello all,

 

I have a column in the grid which should be cut off at a point and display an ellipsis.

It works for the second row onwards, but not the first row.

I have included a small sample replicating the issue.

 

My environment is as follows:

 VS2010

IE9

Widows 7 32 bit.

Infragistics ASP.Net Version 11.2.20112.2125

.Net 4

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"

 

Regards.

FirstRowStyle.zip
Parents
  • 29417
    Verified Answer
    Offline posted

    Hello JJB ,

     

    Thank you for posting in our forum.

     

    It seems that it’s due to the doc type. It throws IE9 into quirks mode. When thrown into quirks mode not all css styles applied to the grid are honored. Due to this even though the same css is applied to all cells the first row doesn’t seem to apply the text-overflow setting on the initial load.

     

    Try using a different doctype that doesn’t throw the browser in quirks mode.For example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     

    Let me know if you have any questions or concerns regarding this.

     

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://ko.infragistics.com/support

     

Reply Children
No Data