Object Plugin : GridEx

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • 5tupot1
    Forum Member
    • Mar 2012
    • 7

    #46
    Originally posted by reteset View Post
    this action sets the height of a row
    Code:
    GridEx.SetRowHeight("Plugin1", 0, 100);


    currently GridEx does not adjust row height automatically , there was a AutoSize cell type but it is not included to this version due to unexpected behaviours of that cell type
    maybe i can add that cell type at next version



    i did not understand very well but , Plugin will split grid in to papers if it does not fit into paper

    if the view of grid closer to A4 paper then , you can automatically scale down grid by setting a smaller font before printing the grid

    On Setup :
    Code:
    def_font = GridEx.AddFont("Plugin1", "comic sans ms", 11, FW_THIN, false, false, false);
    print_font = GridEx.AddFont("Plugin1", "comic sans ms", 5, FW_THIN, false, false, false);
    GridEx.SetDefaultFont("Plugin1", def_font);
    Print Button :

    Code:
    GridEx.SetDefaultFont("Plugin1", print_font);
    
    GridEx.Print("Plugin1", 0, 0, 
    			GridEx.GetNumberCols("Plugin1")-1,
    			GridEx.GetNumberRows("Plugin1")-1
    			);
    			
    GridEx.SetDefaultFont("Plugin1", def_font);
    you might need to adjust row and column sizes as well


    Hi Reteset,

    Did you ever manage to update the AutoSize cell type for updagte?

    It would be such a helpfull update to have.

    Stu

    Comment

    • 5tupot1
      Forum Member
      • Mar 2012
      • 7

      #47
      Simple Word Wrap on a Multiline Cell which also resizes the hight of the cell to fit the text would be great in an upodate.

      Does anyone have any ideas how i might be able to achive this with GridEX?

      Comment

      • reteset
        Indigo Rose Customer
        • May 2006
        • 1692

        #48
        Originally posted by 5tupot1 View Post
        Simple Word Wrap on a Multiline Cell which also resizes the hight of the cell to fit the text would be great in an upodate.

        Does anyone have any ideas how i might be able to achive this with GridEX?
        sorry, i been busy with other things

        actually ,i made some changes/updates on this plugin but the problem is
        there are 3 different projects of this plugin (plus online backup) and each one contains a different additon
        unfortunately ,i had to work on 3-4 different computers in past year and project management was a nightmare

        i will try to merge these projects and prepare a single project then will submit an update as soon as possible
        amsplugins.com Is Closed.

        Facebook Page

        Comment

        • claus707
          Forum Member
          • Apr 2012
          • 105

          #49
          Does GridEx has a command to CLEAR ALL item with one command like TreeList.ClearRows()?!

          Comment

          • Cybergraph
            Indigo Rose Customer
            • Feb 2007
            • 1633

            #50
            Originally posted by claus707 View Post
            Does GridEx has a command to CLEAR ALL item with one command like TreeList.ClearRows()?!
            There is not a built in command to clear the grid but, as RizlaUk suggested in a previous post, you can create your own:

            Code:
            function GridEx.DeleteAllItems(sObject)
            	GridEx.SetUpdate(sObject, false);
            	for i=0, GridEx.GetNumberRows(sObject) do
            		GridEx.DeleteRow(sObject, 0);
            	end
            	GridEx.SetUpdate(sObject, true);
            end
            
            -- Test
            GridEx.DeleteAllItems("Plugin1");
            Reading the whole thread could come in hand...
            We are slowly invading your planet to teach lazy humans to read the user manual.
            But don't be scared: we are here to help.

            Comment

            • mehdikavianirad
              Forum Member
              • Sep 2006
              • 2

              #51
              hi
              i want to hilight a searched text item in cell in grid
              is there impossible

              Comment

              Working...
              X