Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6321045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:04:49+00:00 2026-05-24T16:04:49+00:00

I have a widget in an ASP.NET project that I’m developing for my job.

  • 0

I have a widget in an ASP.NET project that I’m developing for my job. It has to be 300 pixels wide and cannot be any wider. Unfortunately what they want has proven to be fairly complicated for such a small widget. Here is what I have right now:

http://www.codetunnel.com/content/images/widget/currentWidget.jpg

As you can see, this is a jQuery UI accordion control. As each accordion pane expands an ajax call is made to load its contents asynchronously. Right now it spits out an HTML table containing the desired data. The table is within a DIV with style overflow: auto; so that we get scroll bars on the bottom and the right.

My problem is that I want some pretty custom functionality (like the freeze pane ability in excel). When scrolling left and right I want all rows, including header, to scroll left and right except for the far left column, “product name”. Like this:

http://www.codetunnel.com/content/images/widget/scrollRight.jpg

When scrolling up and down I want all columns, including the left column, to scroll up and down except for the header row. Like this:

http://www.codetunnel.com/content/images/widget/scrollDown.jpg

What is the best way to achieve this functionality? Or is there a way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:04:52+00:00Added an answer on May 24, 2026 at 4:04 pm

    I built something somewhat similar, but much less complex: I wanted the first row of the table (the headers) to be frozen while the data rows scrolled vertically. I implemented it as 2 different tables, each with fixed-width cells, each in their own DIV. The “header” div simply sat static, and the “body” div used overflow:auto to scroll.

    Your problem is more complex, because you want to “freeze panes” on both axes, and support scrolling on both axes (I had a lot more real estate to work with, and didn’t have to account for horizontal scrolling at all). Nevertheless, I wonder if you could start from that position and work from there…

    Define 4 divs:

    • NW: this one doesn’t scroll at all, ever. It’s the “product name” cell in your example
    • NE: this one scrolls horizontally only. It’s the top/header row in your example
    • SW: this one scrolls vertically only. It’s the left-side column in your example
    • SE: this one scrolls both directions. It’s the primary data grid in your example

    With 4 DIVs, you’d be dealing with 4 distinct tables, so we’ll need to keep their cell widths and cell heights in sync. Ideally we could do this at render-time, if we can make them fixed values. Otherwise, we might be able to write some client-side jquery/JS to iterate the cells in the SE table when the page first loads (or is resized), and force the size of the other tables to match them.

    With 4 DIVs, we also need to synchronize scrolling: when SE scrolls horizonally, NE must scroll to the same position. When SE scrolls vertically, SW must scroll to the same position. I suspect there must be some client-side scrolling events we can hook, to detect when SE is scrolled. Within those events, we should be able to force NE and/or SW to be scrolled the same way.

    Sorry this is such a vague/abstract response. The nitty-gritty of implementing something like this will take more time than I could comfortably steal away from my main work. But this is something that’s been rattling around in my brain, so figured I share it with you. I hope it gets you at least a little closer to a solution. Cheers!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ASP.NET MVC project, and I would like to have a different
I have a widget inside of my asp.net page from a third party. I
I'm using ASP.NET MVC, and I have a widget within my form collection on
I hope this makes sense. I have a ASP.NET web application that uses Entity
Let's say that I have a widget that displays summary information about how many
I have a UI widget that needs to be put in an IFRAME both
We have a UI widget on our main UI that uses JavaScript to respond
I have HTML table on the ASP.NET MVC View page. Now I have to
I'm building a poll widget using ASP.NET controls and Linq-to-Sql for a high traffic
I have been using asp.net programming just from few months and I have to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.