Luis German Posted August 26, 2019 Share Posted August 26, 2019 (edited) I found this question in the forum "I need for all my grids, simply a property for editing a field when it receive focus. Without dataset.edit. Edit start when user type anything, otherwise cursor remain in editor and dataset in dsbrowse. Without one o double click. Or modify "ClickstoEdit" accepting also zero value. It's very important when user must insert (or modify) several rows in sequence, exactly as standard dbgrid. Some operation must be very fast in input and too much click and double click are tedious when user must use keyboard a lot." I have the same question. Any idea Thanks Luis. Using Complete Professional 1.90.0.1496 Edited August 26, 2019 by Luis German Can not reply ... the option seems disabled. Link to comment Share on other sites More sharing options...
Sherzod Posted August 26, 2019 Share Posted August 26, 2019 Hello Luis, Can you please specify first which edition and build of UniGUI are you using? Link to comment Share on other sites More sharing options...
Sherzod Posted August 26, 2019 Share Posted August 26, 2019 Thank you for the update. Link to comment Share on other sites More sharing options...
Luis German Posted August 26, 2019 Author Share Posted August 26, 2019 Any advice about this topic? Link to comment Share on other sites More sharing options...
Sherzod Posted August 26, 2019 Share Posted August 26, 2019 55 minutes ago, Luis German said: "I need for all my grids, simply a property for editing a field when it receive focus. Without dataset.edit. UniDBGrid.ClicksToEdit = 1 ? Link to comment Share on other sites More sharing options...
Luis German Posted August 26, 2019 Author Share Posted August 26, 2019 I need autoedit without any click like standar Vcl Grids. Link to comment Share on other sites More sharing options...
Luis German Posted August 26, 2019 Author Share Posted August 26, 2019 That Edit operation starts when user type anything Without one or more clicks. Link to comment Share on other sites More sharing options...
Sherzod Posted August 27, 2019 Share Posted August 27, 2019 10 hours ago, Luis German said: That Edit operation starts when user type anything Without one or more clicks. There were solutions on the forum, they will need to be checked for working on the latest versions. Link to comment Share on other sites More sharing options...
Stemon63 Posted August 30, 2019 Share Posted August 30, 2019 Hi Sherzod, there are no solution in the forum. All are samples that don't works, without a true solution. Please, there is a workaround for editing cells (also with custom editors) in dbgrid when user start editing (without press Enter in advance)? All suggested client code don't reflect the correct assignement and management in related data record. Thanks in advance! Link to comment Share on other sites More sharing options...
Sherzod Posted August 30, 2019 Share Posted August 30, 2019 19 minutes ago, Stemon63 said: Please, there is a workaround for editing cells (also with custom editors) in dbgrid when user start editing (without press Enter in advance)? Hi, We will try to investigate this. Link to comment Share on other sites More sharing options...
Stemon63 Posted August 30, 2019 Share Posted August 30, 2019 Ok, perfect Link to comment Share on other sites More sharing options...
Wilton Ergon Posted September 25, 2019 Share Posted September 25, 2019 that would be extremely useful Link to comment Share on other sites More sharing options...
Stemon63 Posted September 25, 2019 Share Posted September 25, 2019 It seems that little things but IMPORTANT for porting apps from Desktop are ignored. An immediate edit in grid is ESSENTIAL for user that manage a lot of data via keyboard. Also important: DBLookup or Combox with value and description items! '1','America','2','Europe, etc... so I see "America" or "Europe" but I save 1 or 2. It's very useful! Must use an external component for this? Link to comment Share on other sites More sharing options...
Luis German Posted September 25, 2019 Author Share Posted September 25, 2019 We are really needing this operation to be functional. We need to offer practical interfaces to the users. Link to comment Share on other sites More sharing options...
Wilton Ergon Posted October 17, 2019 Share Posted October 17, 2019 I am also looking forward to such a feature that will allow you to improve typing Link to comment Share on other sites More sharing options...
Yai_NP_TH Posted June 5, 2020 Share Posted June 5, 2020 รอคำตอบเหมือนกัน Link to comment Share on other sites More sharing options...
Stemon63 Posted June 9, 2020 Share Posted June 9, 2020 Hi Sherzod, any news on "immediate editor" in dbgrids? We see great improvements on Unigui releases, but this essential features is always missing :-) Link to comment Share on other sites More sharing options...
Sherzod Posted June 9, 2020 Share Posted June 9, 2020 51 minutes ago, Stemon63 said: any news on "immediate editor" in dbgrids? We see great improvements on Unigui releases, but this essential features is always missing :-) Hello, Can you try this approach?: Link to comment Share on other sites More sharing options...
Stemon63 Posted June 16, 2020 Share Posted June 16, 2020 Hi Sherzod, it seems that works, but adding: "function edit(editor, context, eOpts) { this.needToClear = false; }" Well, this is a good starting point. I have changed ClicktoEdit=1 for test immediate edit also on enter. I need additional help on this: I need that all cell content is selected when start edit entering in the cell (when I don't press keys that clear all content, but only navigate (ClickEdit=1). I need that all text is selected; instead cursor in now at end of text. Another help on this: I don't want that a mask show when I change record after editing, because I need to input data faster as possible without refresh anything. But also if I have "dgAutorefresh=false" and "dgDontReloadAfterEdit=true", i see always the mask and grid is refreshed on change record (after editing). Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts