You must Sign In to post a response.
  • Category: .NET

    Data grid alignment issue

    I have a custom scrollable data grid with fixed header and pager.

    When the body width is less than div width ( that means no horizontal scrolling required), the header column is not aligned with data column. I am struggling with this. How to align header with body column in this scenario

    I am using harmless doc type 4.0 for my page.
  • #765220
    Hi Chinnari,

    With out seeing your screen we can't say the exact issue especially in design level, I suggest you to check with your team members any designer person, they will help you to resolve this.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #765254

    Can you share your design part?

    Get in your client body width and your div width
    track and use them

    try this code for get your div width


    width and height - > Jquery

    var height = $("#myDiv").height();
    var width = $("#myDiv").width();

    Name : Dotnet Developer-2015
    Email Id

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

Sign In to post your comments