How to show the Cell Type dialog to let user setting celltype

Posted by: levanduyet-fp on 8 September 2017, 3:01 pm EST

  • Posted 8 September 2017, 3:01 pm EST

    I would like to let the user chose the celltype. How can I show the cell type dialog as the attached picture.

    Thanks,

     Duyet

  • Replied 8 September 2017, 3:01 pm EST

    Hello,

    You can show the CellType Dialog at run time on a button click using the following code:

           private void button1_Click(object sender, EventArgs e)
            {
                FarPoint.Win.Spread.Design.ExternalDialogs.CellTypeEditor(fpSpread1);
            }

    Hope it will help you. Please let me know if you have any queries further.

    Thanks,

    Manpreet Kaur

  • Replied 8 September 2017, 3:01 pm EST

    Hi Manpreet Kaur,

    The "FarPoint.Win.Spread" does not have Design property.

    Tks,

     Duyet 

  • Replied 8 September 2017, 3:01 pm EST

    Hello,

    It is not a property, it is a namespace, to use the same you would need to add a reference for FarPoint.Win.Spread.Design. You can browse down to the following location to add this reference:

                C:\Program Files\Grapecity\Spread.Net6\WinForms\v6.0.xx05\bin

    And make sure that your project is using .net FrameWork 4.0 and not  .net FrameWork 4.0 Client profile. Hope it will help you. Please let me know if you have any queries further.

    Thanks,

    Manpreet Kaur

  • Replied 8 September 2017, 3:01 pm EST

    Hi Manpreet Kaur,

    Tks, it work for me.

    Duyet

Need extra support?

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

Learn More

Forum Channels