Menu

New features implemented

giangian
2007-11-27
2013-04-29
  • giangian

    giangian - 2007-11-27

    Hi to all,
    I'm a new user, I'm Italian and I develop in C++ and C#.
    I've implemented some new features in that great control.

    - Serialization to XML file the column state (width, visibility, text and sort order)
    - Multiselection with "Shift + PageDown", "Shift + PageUp", "Shift + Home" and "Shift + PageEnd"
    - If the spacebar is pressing and the column style is CheckBox, all the selected item will be check
    - Bug fixing if the HeaderStyle is ColumnHeaderStyle.None the vertical scrollbar don't scroll to the last item

    I hope this features it be helpful to somebody.
    To share my features with you, the only way is to use the SVN or I can send the modification by mail to some admin?
    Sorry if my english is not perfect but I'm Italian, I hope all understing my post.

    Bye
    Ciao

     
    • PhilDaniels

      PhilDaniels - 2007-11-30

      GianGian

      Welcome - If you have or can get SVN then I think you can apply the updates yourself.  I would be great if you could update the "trunk" and next release branch as they are running in parallel at the moment.

      Question re have spacebar toggling all check boxes -- have you implemented as "option" preferably within Column specifications, is it a toggle ie pressing spacebar again turns them all off.  Concerned about users stumbling across it and reporting as "bug"

      What is "purpose" of XML serialization - ie is there a deserialize ?

      Re your english - good enough for me mate. BTW I'm in Sydney.

      Rgds PhilD

       
    • giangian

      giangian - 2007-12-03

      Hi Phil,
      thanx for your response.
      I've downloaded an SVN client and everything it's ok, when I've a some time I'll upload my modifications.

      - The purpose of XML Serialization is "deserialize", I've implemented two functions "LoadFromXML" and "SaveToXML" with you can load and save the columns state.

      - About spacaber toggling all check boxes, now isn't an "option" but I think it will be possible. I don't understand why some users reporting that like a "bug".

      Bye Marco

      ciao

       
      • PhilDaniels

        PhilDaniels - 2007-12-06

        Hi Marco

        I was thinking of existing users.

        Assume I put new version of XPTable into one of my applications to overcome the scrolling problem with "word wrapped" cells.  Also assume I neglect to tell users about your new features. 

        Then imagine a user presses the space bar at the wrong time and a column of check boxes gets turned on or off - that user will probably see it, at best, as feature they did not request; and at worse, as a bug.  Suggest you add a bool property in check box column to control this feature.

        cya PhilD

         
    • PhilDaniels

      PhilDaniels - 2007-12-06

      Marco

      Re serializing and deserializing column state.

      Any reason why its serialized into XML, in a file I assume, and not saved into the user settings. 

      What happens if one has multiple tables in an application, are there multiple xml files or is it sectioned up in some way. 

      Is the serialize/deserialize is automatic (like restoring the previous screen position etc) or is there user interaction.

      I have implemented an "add-in" that allows users to have run time control over Fonts and Colors, does your serializer handle such Types.  I keep the values in Settings, which can handle most data types which native XML can't.

      Oh, and is it configurable, ie can the application designer choose whether or not to enable the ColumnState save/restore facility (who cares whether it's XML, Binary or Settings!), would need to be an option at the Table object level.

      Rgds Phild

       
    • PhilDaniels

      PhilDaniels - 2007-12-07

      Marco,

      I may have given you the wrong impression and some wrong information.

      The version in trunk in on "life support only" - just bug fixes, so the only one of your changes that should go into it is the fix regarding the HeaderStyle.

      Your enhancements with respect to XML serialization and CheckBox columns should go into "nextrelease" as you have them now.  If I or someone else wants to tweak them (eg to make them optional) then they are free to do so.

      A technical difference between "trunk" and "next release" is the version of Net they target

            - trunk is Net 1.4.?? compliant
            - nextrelease is Net 2.0 compliant

      hope this clears up any misunderstanding, looking forward to seeing your changes

      cheers PhilD

       
      • giangian

        giangian - 2008-01-15

        Hi Phil
        sorry for the very large delay, but I had many things todo and also there were the Christmas holiday :-).
        I've tried today to commit to SVN my modification without success. During the commit phase there is an Username and Password I had try with my account (giangian) without success.
        I've read the documentation and I suppose the project admin grant to me the writing privileges, it's right?
        Thank you very much in advance.
        Happy new year.

        Ciao
        Marco

         
    • PhilDaniels

      PhilDaniels - 2008-01-18

      Marco, nice to hear from you,  Happy New Year etc.

      I've asked the only "active" administrator, Adam Blair, to add your user id to list of SVN writers.  I guess he'll inform you here as we don't have a direct email address for you.

      I copied the email I sent to Adam to giangian@users.sourceforge.net - can you let me know if you get it, I assume it will give you my email address so best to let me know direct.

       
    • Adam

      Adam - 2008-01-18

      Phil, Marco,

      I have added Marco (giangian) as a developer. Welcome aboard!

      Regards, Adam

       
    • giangian

      giangian - 2008-01-21

      Thank's to both.

      Phil, I've received your email to giangian@users.sourceforge.net.

       

Log in to post a comment.