Monday, October 10, 2011

Panes Freezer - The jquery plugin


About

When working with large table, it gets a bit frustrating, when you go to read the data in a distant row or column and the headings at the top of the page or down the side of the sheet disappear.

If you are like me, you're never quite sure if you are looking in the right spot so you scroll back and forth trying to read first the heading and then the data, heading then the data, until you're almost sure you have it right.

To avoid this back and forth waste of time, use this jquery plugin. This plugin allows you to lock specific rows and columns so that they will always be visible on screen no matter how far you scroll to the right or down.

Idea of this plugin is no existing coding modification need to be done, just with additional <DIV> and call the plugin code shown below, that's all!

$('#mydiv_1_0').panesfreezer({
    'headerrow': 1,
    'headercolumn' : 1
});


Demo


Supported browser

Below table show the supported browser for this plugin
No Browser Version OS Support
1 Google Chrome  14.0.835.202 m Windows 7 Y
2 Firefox  7.0 Windows 7 Y
3 Safari 5.1 Windows 7 Y
4 Internet Explorer 9 n/a n

Links

jquery plugin page - http://plugins.jquery.com/project/panesfreezer
Github page - https://github.com/comcrazy/Panes-Freezer/
Author blog - http://comcrazy-devcenter.blogspot.com/ @ http://comcrazy.info/

14 comments:

  1. where i can download this script....thanks...

    ReplyDelete
  2. Hi Nanag, I just upload a release file. You can now download from http://plugins.jquery.com/project/panesfreezer. TQ

    ReplyDelete
  3. i have try this code (basic.html), but i'm tired to set width of cell.. what should i do..??

    sorry for my english..

    ReplyDelete
  4. you mean you want to set width for each cell? If yes, i would recommend use css to define the width and use it at TD element class.

    ReplyDelete
  5. i have try this but it doesn't work..
    i'm sorry i have many question...

    ReplyDelete
  6. ow thank... i forget to set total width of table...thank you very much....

    ReplyDelete
  7. No worry, if you have any further question, just drop me a message. I am still enhancing the plugin.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. the table is broken when i try to marge some of cell... i use rowspan and colspan... This occurs in freezed part.. thanks i'm waiting for this solution..:)

    ReplyDelete
  10. Yup, colspan is done, i am working on rowspan now.

    ReplyDelete
  11. ok... i'm waiting for update..:)

    ReplyDelete
  12. Hi Nanang, new release is up, support rowspan and colspan now. Check it out. :)

    ReplyDelete
  13. i have try new release... when i use rowspan in freezed area..the table still crash..

    ReplyDelete
  14. Hi Nanang, can you please open a ticket at http://plugins.jquery.com/node/add/project-issue/panesfreezer. Please provide me the error message you get and the html code you had try. TQ

    ReplyDelete