Home > Net >  C # Reogrid form input data in the table cell without losing focus, data is not submitted
C # Reogrid form input data in the table cell without losing focus, data is not submitted

Time:09-27

C # Reogrid form input data in the table cell without losing focus, data is not submitted, leading to the current cell data prone to leakage when customers to use to write,

CodePudding user response:

So, what is the problem, don't let me guess,

CodePudding user response:

reference 1st floor exception92 response:
so, what is the problem, don't let me guess,


Outside A submit button such as form, current cell in the table don't lose focus when clicking A button, the current cell A data is not submitted, if I order other cell B, on the submit button, the cell data can be submitted, A
I need to submit data, mainly is the bug only oneself know, don't know to use the software,

CodePudding user response:

refer to the second floor wuwei1378 response:
Quote: refer to 1st floor exception92 response:

So, what is the problem, don't let me guess,


Outside A submit button such as form, current cell in the table don't lose focus when clicking A button, the current cell A data is not submitted, if I order other cell B, on the submit button, the cell data can be submitted, A
I need to submit data, mainly is the bug only oneself know, don't know to use the software,

Form current cell A don't lose focus, click on the button
-> Can click on the button, A it have lost focus, or else how can click on the button, even if the switch to B, A is also loses focus, switch to the B and click on the button can make A loses focus,
IsChanged, or define A state variables in A more when get focus changes made to the data value in the edit state, and A background color changes, click the button to judge the value of this variable to decide whether to submit,

CodePudding user response:

The meaning of the original poster is a bit like the input in the EXCEL spreadsheet, and then press the ESC key, if it is in the current cell, the data is lost; If the cell lost point of view, the contents of the input existed,

In fact this is not a bug, you can require the user to input the content and press enter,

CodePudding user response:

reference exception92 reply: 3/f
Quote: refer to the second floor wuwei1378 response:

Quote: refer to 1st floor exception92 response:

So, what is the problem, don't let me guess,


Outside A submit button such as form, current cell in the table don't lose focus when clicking A button, the current cell A data is not submitted, if I order other cell B, on the submit button, the cell data can be submitted, A
I need to submit data, mainly is the bug only oneself know, don't know to use the software,

Form current cell A don't lose focus, click on the button
-> Can click on the button, A it have lost focus, or else how can click on the button, even if the switch to B, A is also loses focus, switch to the B and click on the button can make A loses focus,
IsChanged, or define A state variables in A more when get focus changes made to the data value in the edit state, and A background color changes, click the button to judge the value of this variable to decide whether to submit,



Problem in the switch to B after A data can be submitted, switching focus A data submission
  •  Tags:  
  • C#
  • Related