resize columns in a table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #16
    I have removed the links. They add nothing meaningful to the conversation and could be considered similar to spamming.

    Comment

    • ayilas
      New Member
      • Dec 2009
      • 5

      #17
      Table resize not working in mozilla

      I have be very happy because from 2 days searching for table grid control with resizable columns.
      So, got the code here.Everything is fine here but the problem is with mozilla/firefox which is not allowing to resize the columns.So, what i observed is that if i remove the doctype in the html page, it is working.But removing the doctype from my page disturbing the design of my page.So, i have to complete it fast as the time has been elapsed much in searching this widget.My project deadline is near.

      So, Please help me out with some solution here ASAP.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #18
        I haven't tested the code myself, but did none of the code posted earlier work in Firefox?

        Comment

        • ayilas
          New Member
          • Dec 2009
          • 5

          #19
          thanx for the response acoder.I thouhgt nobody might give reply but now i'm happy.
          So, the normalised code written by SINCE has not been working in firefox but good in IE.The problem i observed is with DOCTYPE. If i remove the DOCTYPE from my page it is working in both IE and firefox.But removing DOCTYPE disturbing my form completely.So, please help me out in clearing out this problem.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #20
            Which doctype are you using?

            Comment

            • ayilas
              New Member
              • Dec 2009
              • 5

              #21
              Code:
              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
              <html xmlns="http://www.w3.org/1999/xhtml">
              XMHTL DOCTYPE even other DOCTYPES like HTML or else any loosely DOCTYPED.But still the problem persists.
              Last edited by Dormilich; Dec 23 '09, 06:44 AM. Reason: Please use [code] tags when posting code

              Comment

              • acoder
                Recognized Expert MVP
                • Nov 2006
                • 16032

                #22
                I haven't got time to check/test the code, but without a doctype (which you should have), the code makes certain assumptions about the values which are incorrect when you have a doctype. The best thing would be to get a test page and check the values with/without a doctype.

                Comment

                • ayilas
                  New Member
                  • Dec 2009
                  • 5

                  #23
                  Resize Table

                  When the table is dragged beyond the html width and the page is scrolled, we are unable to drag(resize) the column from that end. Even same bug appears in the Test Code, Thnks n Reply soon.

                  Comment

                  • acoder
                    Recognized Expert MVP
                    • Nov 2006
                    • 16032

                    #24
                    I cannot vouch for the code. It was posted by someone with only 2 posts. I would suggest a rethink and good clean code based on: valid doctype, valid HTML/CSS, drag-drop functionality on the column (onmousedown, onmousemove and onmouseup).

                    Comment

                    Working...