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

    <p>I would like to let the user chose the celltype. How can I show the cell type dialog as the attached picture.</p><p><img src="http://i2.photobucket.com/albums/y4/levanduyet/CellTypeDialog.jpg" border="0" /></p><p>Thanks,</p><p> Duyet</p>
  • Replied 8 September 2017, 3:01 pm EST

    <p>Hello,</p><p>You can show the CellType Dialog at run time on a button click using the following code:</p><p>       private void button1_Click(object sender, EventArgs e)<br>        {<br>            FarPoint.Win.Spread.Design.ExternalDialogs.CellTypeEditor(fpSpread1);<br>        }</p><p>Hope it will help you. Please let me know if you have any queries further.</p><p>Thanks,</p><p>Manpreet Kaur</p>
  • Replied 8 September 2017, 3:01 pm EST

    <p>Hi Manpreet Kaur,</p><p>The "FarPoint.Win.Spread" does not have Design property.</p><p><img src="http://i2.photobucket.com/albums/y4/levanduyet/CellTypeDialog1.jpg" border="0" /></p><p>Tks,</p><p> Duyet </p>
  • Replied 8 September 2017, 3:01 pm EST

    <p>Hello,</p><p>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:</p><p>            C:\Program Files\Grapecity\Spread.Net6\WinForms\v6.0.xx05\bin </p><p>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.</p><p>Thanks,</p><p>Manpreet Kaur <br></p>
  • Replied 8 September 2017, 3:01 pm EST

    <p>Hi Manpreet Kaur,</p><p>Tks, it work for me.</p><p>Duyet</p>
Need extra support?

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

Learn More

Forum Channels