Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
Keep UltraGrid.PerformAction(EnterEditMode) from selecting all text
posted

It appears in order to get what text a user has selected in a cell, the Grid has to be in edit mode. If you try and get the SelText property you get this error; "Selection related properties (SelText, SelStart and SelLength) are not supported while the cell is not in edit mode." If UltraGrid.PerformAction(EnterEditMode) is executed, all the text is selected anyway so... Hmmm... Am I missing something?

Parents
  • 71886
    Offline posted

    Hello,

    I believe that this behavior is correct since the above mentioned properties are only available when the cell is in edit mode and there is an editor in it. If you want to access them you would need to put the desired cell in editmode.

    Please do not hesitate to ask if something comes up.

Reply Children