Volk65 Posted April 6, 2018 Share Posted April 6, 2018 Hi! UniDBGrid: I Need to start editing the cell by pressing Key>32. How to do it? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 6, 2018 Share Posted April 6, 2018 Hi, Which build are you using? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 6, 2018 Share Posted April 6, 2018 Have you tried to search on the forum? Quote Link to comment Share on other sites More sharing options...
Volk65 Posted April 6, 2018 Author Share Posted April 6, 2018 I looked... and not found For example: "How to activate cell editing in UniDBGrid" http://forums.unigui.com/index.php?/topic/10306-how-to-activate-cell-editing-in-unidbgrid/ Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 6, 2018 Share Posted April 6, 2018 Which build are you using? Quote Link to comment Share on other sites More sharing options...
Volk65 Posted April 6, 2018 Author Share Posted April 6, 2018 1.0.0.1421 (personal edition) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 6, 2018 Share Posted April 6, 2018 Have you tried with this old plugin?: http://forums.unigui.com/index.php?/topic/3483-a-microsoft-excel-grid-plugin-for-ext-js-4/ Quote Link to comment Share on other sites More sharing options...
Volk65 Posted April 6, 2018 Author Share Posted April 6, 2018 Yes. I saw that too. But the first link did not open. And I wasn't sure if it was still relevant. If the second link is the actual script, I'll try. https://gist.githubusercontent.com/lukehorvat/5607821/raw/6fe2113b4946b36e8bcdf10a3904560ef9a00758/excel-grid-plugin.js Quote Link to comment Share on other sites More sharing options...
Volk65 Posted April 6, 2018 Author Share Posted April 6, 2018 I already tested https://gist.githubusercontent.com/lukehorvat/5607821/raw/6fe2113b4946b36e8bcdf10a3904560ef9a00758/excel-grid-plugin.js (Not working) test6.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2018 Share Posted April 7, 2018 Ok, we will check Quote Link to comment Share on other sites More sharing options...
Volk65 Posted April 9, 2018 Author Share Posted April 9, 2018 Hi Any news? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2018 Share Posted April 9, 2018 Hi, Hi Any news? There are some problems in solving this task Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 9, 2018 Share Posted April 9, 2018 Hi, Here is an example: https://fiddle.sencha.com/#view/editor&fiddle/2cfu But, you can see one of the problems, if quickly enter data from the keyboard Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted September 18, 2023 Share Posted September 18, 2023 Hi Sherzod, How can I use this solution to edit cell in dbgrid by pressing anykey? https://fiddle.sencha.com/#view/editor&fiddle/2cfu @Sherzod I am using Latest Trial Version: uniGUI Web Application Framework - Trial Edition Copyright FMSoft 2009-2023. All rights reserved. Version:1.90.0 build 1572 info@fmsoft.net Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 19, 2023 Share Posted September 19, 2023 Hello, Have you tried searching the forum? There are some solutions. Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted September 19, 2023 Share Posted September 19, 2023 6 hours ago, Sherzod said: Hello, Have you tried searching the forum? There are some solutions. I read many solutions, but I didn't know from where can I start, I think it is difficult a little bit. Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted September 19, 2023 Share Posted September 19, 2023 I want if I press any key([A..Z] or [0..9]) upper or lower case (a..z and !@#$%^&*()) the cell edited and when press Enter the cursor move to the next cell in the same row if it is not read only Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted September 19, 2023 Share Posted September 19, 2023 I will try now again Quote Link to comment Share on other sites More sharing options...
Osama Ghazal Posted September 19, 2023 Share Posted September 19, 2023 @Sherzod Ok, now it works but not very well it is like excel in one row only you should only move the cursor by Tab not by Enter and when the row is finished it stops, not moving to the next row. I think it is very limited not practical. I can't depend on them if the customer want to work inside the grid in the invoices and vouchers. for example: The customer want to enter the barcode then the qty then the price and want to begin a new line by pressing Enter Key, like TDBGGrid Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 20, 2023 Share Posted September 20, 2023 On 9/19/2023 at 2:02 PM, Osama Ghazal said: I think it is very limited not practical. Sorry, this is what it is at the moment. On 9/19/2023 at 2:02 PM, Osama Ghazal said: The customer want to enter the barcode then the qty then the price and want to begin a new line by pressing Enter Key, like TDBGGrid Although there was a solution to this on the forum. Quote Link to comment Share on other sites More sharing options...
bahry Posted September 20, 2023 Share Posted September 20, 2023 @Osama Ghazal http://forums.unigui.com/index.php?/topic/14592-autoedit-in-unidbgrid/ or you can use /////////////////////////////////////////////////// UniDBGRID>ExtEvents>reconfigure function reconfigure(sender, store, columns, oldStore, the, eOpts) { for (var i = 0; i < columns.length; i++) { if (columns.getEditor()) { columns.getEditor().on('specialkey', function (field, e) { if (e.getKey() == 13) { e.keyCode = e.TAB; return e.keyCode; } }) } } } /////////////////////////////////////////////////// But this will not work if in the main form you enabled keyPreview = True and Navigatekeys 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.