Jump to content

Antonio

uniGUI Subscriber
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Antonio

  1. On 11/12/2021 at 5:06 PM, Antonio said:

    Very useful, thank you so much for sharing @Hayri ASLAN!!!

    The filter is perfect but I have a problem with selection.

    1.      When I select the first record of the unfiltered grid, I correctly get the ID associated with the first record.

    1.png.71ee555b40a132ae53eb907663e9d79c.png

    2.      Then I filter the ID column by excluding the first record (ID filter:  > 1)

    2.png.228278d05d6fcb193e63e9b41a9b82bf.png

    3.      The problem is that by selecting again the first row of the filtered grid I get the previous value (ID = 1) instead of the correct one (ID = 2).

    3.png.1527171fd24877c840d80d36552105a1.png

    However, if I select the second row and  then again the first, the result is ok.

    I tried very hard to fix this behavior but I couldn’t find even a dirty workaround.

    In attachment the project I used to replicate this problem.

    I am using Delphi 10.2 and UniGui version 1.90.0 build 1545.

     

    Please, any help will be appreciated!!!

    Thank you!

    UniGuiFilterDBGrid_selection_bug_demo.zip 60.92 kB · 16 downloads

    Hi everyone,

    is anybody able to help with the selection bug I found using the grid filter? Please help

  2. On 1/18/2019 at 6:31 PM, Hayri ASLAN said:

    Hello

    Please check attached sample application.

    Available values for Filter = "boolean,date,list,number,string"

    image.thumb.png.195a3186359372320a3f9280171e3e4c.png

    CustomDBGrid.rar 65.43 kB · 99 downloads

    Very useful, thank you so much for sharing @Hayri ASLAN!!!

    The filter is perfect but I have a problem with selection.

    1.      When I select the first record of the unfiltered grid, I correctly get the ID associated with the first record.

    1.png.71ee555b40a132ae53eb907663e9d79c.png

    2.      Then I filter the ID column by excluding the first record (ID filter:  > 1)

    2.png.228278d05d6fcb193e63e9b41a9b82bf.png

    3.      The problem is that by selecting again the first row of the filtered grid I get the previous value (ID = 1) instead of the correct one (ID = 2).

    3.png.1527171fd24877c840d80d36552105a1.png

    However, if I select the second row and  then again the first, the result is ok.

    I tried very hard to fix this behavior but I couldn’t find even a dirty workaround.

    In attachment the project I used to replicate this problem.

    I am using Delphi 10.2 and UniGui version 1.90.0 build 1545.

     

    Please, any help will be appreciated!!!

    Thank you!

    UniGuiFilterDBGrid_selection_bug_demo.zip

×
×
  • Create New...