Stemon63 Posted October 17, 2019 Share Posted October 17, 2019 Hi, I don't understand why there is no attention on our request of little features, but very important for us. I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. I need a key-value pair management in combos (retain key but display value). I need a repeteable area with inside a free layout on arrange components (on web is used a lot instead grids); I don't speek on complex components (like advanced lookups, grids in combos, infinite scroll, etc) that are not present but already planned, I intend simply little additions on standard components that permits us to release apps to our customers, adding few rows of code with a update release. Why? (sorry for my english) 1 Link to comment Share on other sites More sharing options...
Sherzod Posted October 17, 2019 Share Posted October 17, 2019 2 minutes ago, Stemon63 said: I don't understand why there is no attention on our request of little features, but very important for us. Hello, Sorry, Your requests are not ignored. Sorry if we don’t respond in a timely manner. 4 minutes ago, Stemon63 said: I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. This is also not a simple implementation in my opinion, as you think. Also, I will think about the implementation of this task. Link to comment Share on other sites More sharing options...
Stemon63 Posted October 17, 2019 Author Share Posted October 17, 2019 Hi Sherzod, UNIGUI is a great product. But sometimes customers don't known those difficulties. If they works comfortable in Desktop (using a lot the keyboard), they want the same also on Browse. And our intend is to switch them from desktop to web. So we have to offer the same "ergonomy". But little things stops the porting. Glad to ear that you think about the implementation. Thank you, Good Job Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 18, 2019 Share Posted October 18, 2019 Hello, If you create a simple test case of them, we can work on it. Link to comment Share on other sites More sharing options...
Fred Montier Posted November 19, 2019 Share Posted November 19, 2019 The (db)combobox problem is easy to solve. You guys already have the solution in DbRadiogroupbox. Any VCL pack you have a Items list and a Value List to facilitate a solution to this problem that RXLib solved in the early 2000. Link to comment Share on other sites More sharing options...
Sherzod Posted January 11, 2020 Share Posted January 11, 2020 On 10/17/2019 at 8:13 PM, Stemon63 said: I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. Hi, Sorry for the late reply. One of the possible solution I think, can you try this approach for now?: UniDBGrid -> ClientEvents -> ExtEvents -> function beforeedit(editor, context, eOpts) { context.value=""; //Or you can use the "condition" } function beforeitemkeypress(sender, record, item, index, e, eOpts) { var me=sender.grid; me.editingPlugin.startEditByPosition({ column: me.uniCol, row: me.uniRow }); } 1 Link to comment Share on other sites More sharing options...
Sherzod Posted January 11, 2020 Share Posted January 11, 2020 Or even better solution that takes into account "Enter, click, dblClick": function beforeedit(editor, context, eOpts) { editor.grid.needToClear?context.value="":{}; } function beforeitemkeydown(sender, record, item, index, e, eOpts) { var me=sender.grid; me.needToClear = (e.getKey() !== 13); } function beforeitemkeypress(sender, record, item, index, e, eOpts) { var me=sender.grid; me.editingPlugin.startEditByPosition({ column: me.uniCol, row: me.uniRow }); } 1 Link to comment Share on other sites More sharing options...
Wilton Ergon Posted January 13, 2020 Share Posted January 13, 2020 the code was almost perfect, it would be possible after editing the registry, when you press the down arrow already record and jump to the next line, as it is, and if necessary, press enter and then press the down arrow, Enter to save must be kept. a problem I noticed: when editing the record, press the tab key, moving to the next column clears the next column value. text translated by google Link to comment Share on other sites More sharing options...
Sherzod Posted January 14, 2020 Share Posted January 14, 2020 10 hours ago, wilton_rad said: a problem I noticed: when editing the record, press the tab key, moving to the next column clears the next column value. function beforeitemkeydown(sender, record, item, index, e, eOpts) { var me=sender.grid; me.needToClear = (e.getKey() !== 13 && e.getKey() !== 9); } Link to comment Share on other sites More sharing options...
Wilton Ergon Posted January 15, 2020 Share Posted January 15, 2020 On 1/14/2020 at 2:14 AM, Sherzod said: function beforeitemkeydown(sender, record, item, index, e, eOpts) { var me=sender.grid; me.needToClear = (e.getKey() !== 13 && e.getKey() !== 9); } excellent, still abusing your goodwill, press the down or up arrow to save the record, is it possible? Link to comment Share on other sites More sharing options...
Sherzod Posted January 16, 2020 Share Posted January 16, 2020 7 hours ago, wilton_rad said: excellent, still abusing your goodwill, press the down or up arrow to save the record, is it possible? OK, I will analyze. Link to comment Share on other sites More sharing options...
Stemon63 Posted January 16, 2020 Author Share Posted January 16, 2020 Hi Sherzod, Thanks for the workaround. But moving with tab (for example) and start next editing with a key, focused cell is the previous selected. Please try and correct. :-) Thanks in advance. Link to comment Share on other sites More sharing options...
Sherzod Posted January 16, 2020 Share Posted January 16, 2020 2 hours ago, Stemon63 said: But moving with tab (for example) and start next editing with a key, focused cell is the previous selected. Please try and correct. :-) Hi, OK, I will check. Link to comment Share on other sites More sharing options...
Le Meur Guillaume Posted January 21, 2020 Share Posted January 21, 2020 +1 for "Press the down or up arrow to save the record" Link to comment Share on other sites More sharing options...
Stemon63 Posted January 28, 2020 Author Share Posted January 28, 2020 Hi Sherzod, any news? My last 3 projects depend from Dbgrid data input... (I known is not easy, but please work on a definitive solution! :-) ) Thanks in advance! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now