builder Posted July 30, 2025 Posted July 30, 2025 Hi guys: Good morning. in the demo of in "GridsColumnLockingAndHeaderGrouping" I want to enter data and click to other rows without scrolling the table. Can do it ? I tried changing the settings to the following, but it didn't work Requesting help, looking forward to reply, Thanks in advance. ------------------------------------------------------------------------------------------------------------------------------------------------------ Env ref: Quote
Sherzod Posted July 30, 2025 Posted July 30, 2025 Hello, 19 minutes ago, builder said: I want to enter data and click to other rows without scrolling the table. Try this view config: Quote
builder Posted July 30, 2025 Author Posted July 30, 2025 52 minutes ago, Sherzod said: Hello, Try this view config: Quote
Sherzod Posted July 30, 2025 Posted July 30, 2025 From what I can see, this behavior might be related to an issue within Ext JS itself, possibly when working with locked columns and scroll preservation. I'll try to analyze it further and see if there's a reliable workaround. Quote
builder Posted July 31, 2025 Author Posted July 31, 2025 14 hours ago, Sherzod said: From what I can see, this behavior might be related to an issue within Ext JS itself, possibly when working with locked columns and scroll preservation. I'll try to analyze it further and see if there's a reliable workaround. Morning! Thanks a lot. Env: unigui 1599, extjs:7.8.0 Quote
Sherzod Posted July 31, 2025 Posted July 31, 2025 Hello @builder Try this approach and see if it affects any other logic in your application. 1. MainForm.Script -> Ext.override(Ext.grid.Panel, { focus: function() { if (this._disableGridFocus) { this._disableGridFocus = false; return; } this.callParent(arguments); } }); 2. UniDBGrid.ClientEvents.ExtEvents -> function beforeedit(editor, context, eOpts) { editor.grid._disableGridFocus = true; } Quote
builder Posted August 1, 2025 Author Posted August 1, 2025 15 hours ago, Sherzod said: Hello @builder Try this approach and see if it affects any other logic in your application. 1. MainForm.Script -> Ext.override(Ext.grid.Panel, { focus: function() { if (this._disableGridFocus) { this._disableGridFocus = false; return; } this.callParent(arguments); } }); 2. UniDBGrid.ClientEvents.ExtEvents -> function beforeedit(editor, context, eOpts) { editor.grid._disableGridFocus = true; } Morning , Sherzod. Thank you so much! but have some troubles: 1、How can I use 【code 1】 alone in the createform event of a form? 2、In this form i need use [Code1] &[Code2] together, how to do? thanks. Quote
Sherzod Posted August 1, 2025 Posted August 1, 2025 3 hours ago, builder said: How can I use 【code 1】 alone in the createform event of a form? Why? You can just add it once in MainForm.Script or even include it in the project as a custom JS file. Quote
builder Posted August 1, 2025 Author Posted August 1, 2025 1 hour ago, Sherzod said: Why? You can just add it once in MainForm.Script or even include it in the project as a custom JS file. okay. but now, [Code1] &[Code2] can't work together. Is there any way to solve it? Quote
builder Posted August 1, 2025 Author Posted August 1, 2025 12 minutes ago, Sherzod said: At least you should put a comma. Thank you very much, it works. 😅😅😅 1 Quote
builder Posted August 1, 2025 Author Posted August 1, 2025 HI @Sherzod oh sorry, now there is a big problem, the checkbox can't tick or untick. Quote
Sherzod Posted August 1, 2025 Posted August 1, 2025 2 hours ago, builder said: oh sorry, now there is a big problem, the checkbox can't tick or untick. Hello, This issue isn’t caused by our custom JS, is it? Quote
builder Posted August 1, 2025 Author Posted August 1, 2025 1 hour ago, Sherzod said: Hello, This issue isn’t caused by our custom JS, is it? Quote
builder Posted August 3, 2025 Author Posted August 3, 2025 On 8/1/2025 at 7:25 PM, Sherzod said: Comment this code and check it again. yes sir, when comment this code, ckeckbox can tick/ untick. But the problem in the title will appear again. Quote
Sherzod Posted August 3, 2025 Posted August 3, 2025 19 minutes ago, builder said: yes sir, when comment this code, ckeckbox can tick/ untick. Sorry to ask again, but could you please create a simple test example? Quote
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.