eduardosuruagy Posted August 17, 2019 Posted August 17, 2019 1 minute ago, Sherzod said: Posso me conectar remotamente? Yes you can, of course. I use AnyDesk for remote access. Quote
Sherzod Posted August 17, 2019 Author Posted August 17, 2019 7 minutes ago, eduardosuruagy said: I pass the data right here? Send to PM. Quote
Sherzod Posted August 17, 2019 Author Posted August 17, 2019 For all filter editors: LayoutConfig -> Width = calc(100% - 5px) Quote
eduardosuruagy Posted August 17, 2019 Posted August 17, 2019 It worked perfectly, thanks so much for the help !!! Quote
eduardosuruagy Posted August 17, 2019 Posted August 17, 2019 22 minutes ago, Sherzod said: For all filter editors: LayoutConfig -> Width = calc(100% - 5px) If you test the example in chrome you will see that when you resize the column it automatically increases in size. In firefox this does not happen! Quote
Sherzod Posted August 19, 2019 Author Posted August 19, 2019 On 8/17/2019 at 11:08 PM, eduardosuruagy said: If you test the example in chrome you will see that when you resize the column it automatically increases in size. In firefox this does not happen! The issue was resolved as follows: ... dbgrid_cadastro2.JSInterface.JSCode(#1'.columnManager.columns[0].setMaxHeight('#1'.columnManager.columns[0].getHeight());'); //<----- BtnFiltro.Tag := 1; end else if BtnFiltro.Tag = 1 then ... Quote
lcolombo Posted January 24, 2020 Posted January 24, 2020 Hi, I have a problem. After changing the number of records per page, for example to 50, after modifying record number 48, the grid is positioned in record 23, that is 48-25 = 23. Also, if I refresh on the dataset, I shows 25 records per page again, until the page changes. Regards Quote
Sherzod Posted January 26, 2020 Author Posted January 26, 2020 On 1/24/2020 at 11:55 PM, lcolombo said: I have a problem. After changing the number of records per page, for example to 50, after modifying record number 48, the grid is positioned in record 23, that is 48-25 = 23. Also, if I refresh on the dataset, I shows 25 records per page again, until the page changes. Hi, Which build are you using? Can you make a simple testcase for check? Quote
lcolombo Posted January 27, 2020 Posted January 27, 2020 Hi, I'm using Unigui Version:1.90.0 build 1514 and I'm testing with the file attached to this post (http://forums.unigui.com/index.php?/topic/4210-pagesize-extension-for-unidbgrid/&do=findComment&comment=63430) http://forums.unigui.com/applications/core/interface/file/attachment.php?id=6620 Regards, Quote
lcolombo Posted February 3, 2020 Posted February 3, 2020 Hi, Do you have any news about it? Regards, Quote
Sherzod Posted February 3, 2020 Author Posted February 3, 2020 1 hour ago, lcolombo said: Do you have any news about it? Yes. 1. type TExUniCustomDBGrid = class(TUniCustomDBGrid) end; 2. procedure TMainForm.dbg1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'setLimit' then TExUniCustomDBGrid(Sender as TUniDBGrid).RowLimit := Params.Values['limit'].ToInteger; end; 3. function store.load(sender, records, successful, operation, eOpts) { if (this.lastOptions.limit) { ajaxRequest(this.grid, 'setLimit', ['limit=' + this.lastOptions.limit]); } } Quote
thiagopedro Posted February 28, 2020 Posted February 28, 2020 On 2/3/2020 at 3:29 PM, Sherzod said: Yes. 1. type TExUniCustomDBGrid = class(TUniCustomDBGrid) end; 2. procedure TMainForm.dbg1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'setLimit' then TExUniCustomDBGrid(Sender as TUniDBGrid).RowLimit := Params.Values['limit'].ToInteger; end; Cannot access protected symbol TUniCustomDBGrid.RowLimit 3. function store.load(sender, records, successful, operation, eOpts) { if (this.lastOptions.limit) { ajaxRequest(this.grid, 'setLimit', ['limit=' + this.lastOptions.limit]); } } Quote
Sherzod Posted February 28, 2020 Author Posted February 28, 2020 2 hours ago, thiagopedro said: Cannot access protected symbol TUniCustomDBGrid.RowLimit Hello, Can you please specify the build you are using? Quote
thiagopedro Posted February 28, 2020 Posted February 28, 2020 36 minutes ago, Sherzod said: Hello, Can you please specify the build you are using? 1.90.0.1509 Quote
Sherzod Posted February 28, 2020 Author Posted February 28, 2020 9 minutes ago, thiagopedro said: 1.90.0.1509 Can you check on the latest build? Quote
thiagopedro Posted February 28, 2020 Posted February 28, 2020 Just now, Sherzod said: Can you check on the latest build? My license goes up to that version. I did not receive the promised licensing time increase. I checked the log and found nothing related to that version afterwards that could indicate something non-functional in this sense. You can verify ? Quote
Sherzod Posted February 28, 2020 Author Posted February 28, 2020 9 minutes ago, thiagopedro said: I did not receive the promised licensing time increase. Please send a request to the support portal. Quote
Tokay Posted January 30, 2022 Posted January 30, 2022 On 1/27/2020 at 11:32 PM, lcolombo said: Hi, I'm using Unigui Version:1.90.0 build 1514 and I'm testing with the file attached to this post (http://forums.unigui.com/index.php?/topic/4210-pagesize-extension-for-unidbgrid/&do=findComment&comment=63430) http://forums.unigui.com/applications/core/interface/file/attachment.php?id=6620 7.73 kB · 48 downloads Regards, This example works for me, thank you! 1551 version. 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.