Osama Ghazal Posted May 21, 2023 Share Posted May 21, 2023 Hi All, I have a UniDBGrid, I want to Edit Cells in this grid without press Enter on key board or dblclick on mouse Then type the value then press Enter again. and I want to skip the readonly fields I used hidden panel and uniedit for the field editor, and i tried the solution the you gave it to someone before by reconfigure event, but it gives me an error I am using Trial Version 1.90.0.1565 Thank you Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted May 23, 2023 Share Posted May 23, 2023 Hello You can try ClicksToEdit=1 Quote Link to comment Share on other sites More sharing options...
风吹小机机 Posted May 24, 2023 Share Posted May 24, 2023 Make a mark, you can use it next time Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted May 24, 2023 Author Share Posted May 24, 2023 10 hours ago, Hayri ASLAN said: Hello You can try ClicksToEdit=1 it is better, but I want if i press any key on keyboard it writes directly without press by mouse then write then press enter again Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted May 24, 2023 Author Share Posted May 24, 2023 7 hours ago, 风吹小机机 said: Make a mark, you can use it next time what do you mean? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2023 Share Posted May 24, 2023 On 5/21/2023 at 9:13 PM, Osama Ghazal said: I have a UniDBGrid, I want to Edit Cells in this grid without press Enter on key board or dblclick on mouse Then type the value then press Enter again. and I want to skip the readonly fields Hello, There are many posts on the forum. Use search. Quote Link to comment Share on other sites More sharing options...
风吹小机机 Posted May 24, 2023 Share Posted May 24, 2023 40 minutes ago, Osama Ghazal said: what do you mean? Good question asked That's the problem I've encountered First, make a mark and change the code when you have time Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted May 24, 2023 Author Share Posted May 24, 2023 4 hours ago, Sherzod said: Hello, There are many posts on the forum. Use search. I saw them all, all of them are old posts, and they are not working now Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2023 Share Posted May 24, 2023 1 hour ago, Osama Ghazal said: I saw them all, all of them are old posts, and they are not working now Don’t know which ones you looked at, but seems I recently applied one of the solutions on the forum. Are you still using the trial version? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 24, 2023 Share Posted May 24, 2023 And in any case, this is not provided by the sencha library itself at the moment, as far as I know. And therefore, there is no guarantee that you will get a complete working solution. Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted May 25, 2023 Share Posted May 25, 2023 Hi, in practice, the cell must go into edit when any key is pressed, which corresponds to the first character typed in the editor, except for pressing the navigation keys. It is a fairly normal necessity for those who have to enter data quickly into the grids. Please find a solution that works, Thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2023 Share Posted May 25, 2023 Just now, Stemon63 said: in practice, the cell must go into edit when any key is pressed, which corresponds to the first character typed in the editor, except for pressing the navigation keys. It is a fairly normal necessity for those who have to enter data quickly into the grids. Please find a solution that works Hello, The forum has solutions if I'm not mistaken. Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted May 29, 2023 Author Share Posted May 29, 2023 On 5/25/2023 at 1:40 PM, Sherzod said: Hello, The forum has solutions if I'm not mistaken. I will try later, if i didn't find i will try the idea for @stemon63 Thanks Sherzod Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted October 30, 2023 Share Posted October 30, 2023 On 5/25/2023 at 12:40 PM, Sherzod said: Hello, The forum has solutions if I'm not mistaken. Hello Sherzord, the forum have no solution for simple requests. let's not insist, let's give real examples: 1) How to start editing cell in grid without enter o f2 but typing directly the value; 2) how to confirm end editing in a cell grid with enter and passing to next field; 3) How to display in grid, column 3 = column 1 + column2 while you are editing (I type 10 +5 in column 1-2 and automatically column3=15). Better if this can be also a client level. 4) TIMELESS... a DBLookup with display value e key value to store (remote and not). DBlookup with incremental search and with multicolumn popup (a grid) let's leave it as a miracle 🙂 Good Job! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 31, 2023 Share Posted October 31, 2023 Hello, 10 hours ago, Stemon63 said: the forum have no solution for simple requests. What do you mean? 10 hours ago, Stemon63 said: 1) How to start editing cell in grid without enter o f2 but typing directly the value; 10 hours ago, Stemon63 said: 2) how to confirm end editing in a cell grid with enter and passing to next field; There is a solution on the forum (client side) 10 hours ago, Stemon63 said: 3) How to display in grid, column 3 = column 1 + column2 while you are editing (I type 10 +5 in column 1-2 and automatically column3=15). Better if this can be also a client level. Server solution, with calculated fields. Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted October 31, 2023 Share Posted October 31, 2023 5 hours ago, Sherzod said: Hello, What do you mean? There is a solution on the forum (client side) Server solution, with calculated fields. 1) What do you mean? I mean a "tested" solution that actually works has never been published. Please point me to a post that actually solves the problem for real. 2) There is a solution on the forum (client side) Ok, tell us which post has the solution that actually works. It is clear that we always prefer the client solution, especially on grids when fast user input does not have to be slowed down by continuous chatting with the server for simple calculations or actions that can be fast direct on the client. 3) Server solution, with calculated fields. Well, Is it possible to perform client-side calculations? A simple addition or multiplication should not force us to create a calculated field in the dataset that is on the server. Especially if that field must also be able to be modified by the user, so it cannot be a calculated field, but a standard field to which a calculated value is assigned (which is a different thing). My request is: how is it possible to obtain field3=field1+field2 directly on the client, without calling the server, if not by updating the dataset when post the data? I want to be clear, this is not a controversy. Unigui is really cool. But blocking the work in search of small solutions by randomly searching the forum and being told "there is the solution on the forum" is not very welcome. Because in the meantime the work is blocked and those simple things requested PREVENT the release of applications to users. Currently I have no working solutions for what I requested. And for this reason, that is, for these small things, I was forced to use another tool to deliver some small projects on time. Currently I don't read anywhere how to do 1+1=2 directly in the fields of a DBgrid on the client. So I myself like a set of "worked" examples that I simply need to implement in my own applications. In the meantime, I thank you for your precious help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.