none
Far point Spread Combo cell Issue RRS feed

  • Question

  • I am using Far point Spread Version 9.Working fine VS2013.The Spread set as combo.it has hide last index value while cell click in VS2012.I am working asp.net c# windows application?here below is my code inside the Spread Cell Click

     public FarPoint.Win.Spread.CellType.ComboBoxCellType ComboCell = new        FarPoint.Win.Spread.CellType.ComboBoxCellType();
       DataTable DTParent = new DataTable();
      List<dynamic> objdynamiclist = new List<dynamic>();
       objdynamiclist.Add("ParentTable");
       DTParent = objModule.GetCodesValues(objdynamiclist);
      ComboCell.Items = DTParent.AsEnumerable().Select(r =>r.Field<string>("Name")).ToArray();
      ComboCell.ItemData = DTParent.AsEnumerable().Select(r=> r.Field<string>("ID")).ToArray();
        ComboCell.EditorValue = FarPoint.Win.Spread.CellType.EditorValue.ItemData;
         ComboCell.AcceptsArrowKeys = FarPoint.Win.SuperEdit.AcceptsArrowKeys.AllArrows;
         ComboCell.AutoSearch =  FarPoint.Win.AutoSearch.SingleCharacter;
         ComboCell.Editable = false;

         FarpointGrid1.Sheets[0].Cells[FarpointGrid1.Sheets[0].ActiveRowIndex,0].CellType = ComboCell;

    While cell click the Combo box last index value hide.if i used Maxdrop=3.it will display 3 and click cell again it will display 2, the last one is hide.


    • Edited by MSD2017 Wednesday, November 1, 2017 1:25 PM
    • Moved by Stanly Fan Monday, November 13, 2017 6:05 AM
    Wednesday, November 1, 2017 11:51 AM

All replies

  • Hi MSD2017,

    According to your description, your issue is more related about Far point Spread control. it will be more appropriate to ask your question at Spread for WinForms Forum.

    Thank you for your understanding.

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Regards,

    Stanly


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 2, 2017 2:14 AM