【问题标题】:how to set cursor position in cell of grouping grid of syncfusion?如何在同步融合分组网格的单元格中设置光标位置?
【发布时间】:2013-09-19 11:11:44
【问题描述】:

我正在使用同步融合控件开发一个 Windows 应用程序。我有一个网格分组网格,如果用户单击单元格中的任何位置,我想将光标位置设置为文本的末尾。我该怎么做?

【问题讨论】:

    标签: c# syncfusion


    【解决方案1】:
    private void grd_TableControlCurrentCellChanged(object sender, GridTableControlEventArgs e)
    {
       GridDropDownGridListControlCellRenderer cr = 
          gcc.Renderer as GridDropDownGridListControlCellRenderer;
              if (cr != null)
              {
                  cr.TextBox.SelectionStart = cr.TextBox.TextLength;
                  cr.TextBox.SelectionLength = 0;
              }
    }
    

    【讨论】:

      猜你喜欢
      • 2022-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-09-04
      • 1970-01-01
      相关资源
      最近更新 更多