flexResizeBothUniform doesn't work while use set_RowHeight(-1, x)

Posted by: samo3889 on 15 May 2018, 5:57 am EST

    • Post Options:
    • Link

    Posted 15 May 2018, 5:57 am EST

    Hi ALL

    i use c1flexgrid.classic.4 version: 4.0.20173.286

    set_RowHeight(-1, x) make the flexResizeBothUniform doesn’t work

    look at the following example: flexResizeBothUniform.zip

    thanks.

    flexResizeBothUniform.zip

  • Posted 16 May 2018, 5:07 am EST

    Hi Saleem!

    It seems to be a bug, and I’m reporting this issue to the development team [Internal ID : 322297].

    Thanks,

    Meenakshi

  • Posted 22 May 2018, 10:28 am EST

    can you please update me while it’s fixed

    thanks.

  • Posted 24 May 2018, 12:05 am EST

    Sure. Currently, this is with the concerned team. But you will be notified once it is resolved.

    • Meenakshi
  • Posted 24 May 2018, 5:16 am EST

    Sorry to mention that this is a limitation, currently.

    Regards,

    Meenakshi

  • Posted 27 May 2018, 7:30 am EST

    hi meenakshi

    I need a solution please!!

    Is there no temporary solution to offer me ?!

    thanks

  • Posted 28 May 2018, 2:55 am EST

    WorkAround Solution:

    grid.AfterResizeRow += grid_AfterUserResize;

        private void grid_AfterUserResize(object sender, EventArgs e)
        {
            if (Row != -1)
            {
                moFlex.RowHeightMax = moFlex.RowHeightMin = -1;
                moFlex.set_RowHeightEx(-1, moFlex.get_RowHeight(Row));
            }
    
         }
    
    
        public static void set_RowHeightEx(this C1.Win.C1FlexGrid.Classic.C1FlexGridClassic instance,int Row, int RowHeight)
        {
    
            if(Row == -1)
            {
                instance.RowHeightMin = RowHeight;
                instance.RowHeightMax = RowHeight;
            }
            else
            {
                instance.set_RowHeight(Row, RowHeight);
            }
    
        }
    

    thanks

  • Posted 28 May 2018, 4:43 am EST

    Hi,

    I understand the criticality of the problem for you. We are actually trying to investigate it further in order to get a workaround. Will let you know once reach to a conclusion.

    ~Pragati

  • Posted 28 May 2018, 11:14 pm EST

    Hi,

    I am glad to know that you were able to find a workaround for this problem.

    Thanks for sharing it.

    Marking this thread closed now.

    Thanks,

    Pragati

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels