Filter RightToLeft Layout

Originally Posted 7 May 2017, 3:40 pm EST

  • Originally Posted 7 May 2017, 3:40 pm EST

    Hi,
    I'm using C1.Win.C1FlexGrid.4 version 4.0.20163.226

    The form is set as 'RightToLeftLayout = True', 'RightToLeft = Yes'.
    The FlexGrid is set as 'RightToLeft = Inherit (Yes)', 'Language = C1.Util.Localization.Language.Hebrew'.

    The problem is that ALL filter forms (C1.Win.C1FlexGrid.FilterEditorForm) are displayed with 'RightToLeftLayout = False'...
    Trying to set it 'True' causes the form do dispose & recreate which, if set after 'New' is done, is impossible.

    How can i set the 'RightToLeftLayout' property of the filter forms to 'True'?
  • Reply

    Hi,

    I could also observe the same behaviour at our end. I am discussing it with the developers (internal tracking ID: 257514) and will let you know once there is any information from them.

    Thanks,
    Pragati
  • Reply

    Hi Guy,

    This will be fixed in 2017 v2 release, scheduled for mid of July, 2017.

    Thanks,
    Pragati
  • Reply

    Hi Pragati,

    Any News?

    Guy.
  • Reply

    Hi,

    The issue is not fixed... Or i;m doing something wrong.
    1. Form is set as 'RightToLeftLayout = True'
    2. Form is set as 'RightToLeft = Yes'
    3. FlexGrid is set as 'RightToLeft = Inherit (Yes)'
    4. FlexGrid is set as 'Language = C1.Util.Localization.Language.Hebrew'

    Still the filter comes as LeftToRight...

  • Reply

    Hi,

    The issue has been fixed in the latest release build, which you may download from the following URL:
    http://prerelease.componentone.com/dotnet40/c1winforms/2017-t2/C1WinForms.4_4.0.20172.271.zip
    http://prerelease.componentone.com/dotnet20/c1winforms/2017-t2/C1WinForms.2_2.0.20172.271.zip

    Thanks,
    Ruchir Agarwal
  • Reply

    Hi Guy,

    This would be fixed in 2017 v2 hotfix 2 scheduled to be released in September.

    Thanks,
    Pragati
  • Reply

    Hi Ruchir Agarwal,

    Any Updates?

    Guy.

  • Reply

    Hello,

    We could observe the same behavior at our end too. Hence the same has been escalated to the concerned team for investigation {Tracking ID: 274696}.
    We will keep you updated with the progress on this issue.

    Regards,
    Ruchir Agarwal
  • Reply

    Hi Pragati,

    Any News/Updates?
    September is over and there isn't any update...

    We need this fix...

    Thank you,
    Guy
  • Marked as Answer

    Reply

    Hi Guy,

    We are happy to let you know that the issue is now resolved.
    You may download the build version including the fix using the following URL:
    https://www.dropbox.com/s/0ssqybc3xixslzq/C1WinForms.4_4.0.20172.275.zip?dl=0

    Regards,
    Ruchir Agarwal
  • Reply

    Hi Ruchir,

    THANK YOU!!! I've tested the 275 build and the issue is FIXED!

    However i still have a few problems & questions...

      Problems:

    1. In Condition filter the header is still Left aligned (As seen in the attached 'Header Allignment.png'). I've highlighted it in red...
    EDIT: Actually, it looks like the entire 'Condition' filter is not in RightToLeft layout...

    Header Allignment.png


    2. In Condition filter drop-down there is a Hebrew mistake. You ca see in the attached 'Heb Mistake.png' - I've highlighted the mistake in red, and the correct one in green. The correct one says 'Greater OR equal to - ' and the mistake says 'Smaller HE equal to - '...

    Heb Mistake.png


      Questions:

    1. How can i choose so that the default filter to be opened is the condition filter (not the value one) & how can i pre-set the first condition filters drop-down value? So that when the user clicks the Filter glyph it will automatically be focused on the first condition filter text box with a pre-selected condition...
    2. When will these builds become available via C1Live / Offline Installer?

    Thank you,
    Guy
  • Reply

    Hi Guy,

    Thank you for acknowledging the fix.

    1. We could reproduce the header not aligned bug. Hence it has been forwarded to the concerned person for fix. We will update you once it is fixed.
    2. We could observe the same at our end too. Therefore the concerned person has been notified about the same. We will update you once it is fixed {Tracking ID: 289982}.
    3. For setting condition filter to open up with some default value, you may use the AllowFiltering property of the specific column and set it to Custom and then create a filter by your own as follows:

    c1FlexGrid1.Cols[1].AllowFiltering = AllowFiltering.Custom;
    var filter = new ConditionFilter();
    filter.Condition1.Operator = ConditionOperator.Equals;
    c1FlexGrid1.Cols[1].Filter = filter;

    You may also refer to following documentation link for reference:
    http://helpcentral.componentone.com/nethelp/c1flexgrid/filteringbycondition.html
    http://helpcentral.componentone.com/nethelp/c1flexgrid/allowfilteringproperty.html

    4. Using C1Live, the build would be available by mid-November.

    Regards,
    Ruchir Agarwal
  • Reply

    Hi Ruchir,

    Thank you for addressing these issues and providing answers so quickly.

    We are in need for these fixes...

    Please notice that 'Problem 1' seems to apply to the entire condition filter, not only the header... It would be logical to have the condition comboboxes appear before the textboxes. So, in RTL Layout, the comboboxes should be placed to the Right of the textboxes.

    Thank you,
    Guy
  • Reply

    Hi!

    Thank you Guy. The concerned team has already been informed about this. And, we will let you know once the fix is available.

    Regards,
    Meenakshi
  • Reply

    Hi Meenakshi,

    Thank you.
    Regarding the 3rd answer (About the default filter):
    We still want to use the combined Value/Condition default filter editor. We just want to be able to set which one will be opened by default (Value or Condition) And, in case of Condition, to be able to set the initial value for the 1st combo box & have the focus on the 1st textbox.

    Can this be done?

    Guy.
  • Reply

    Hi Guy!

    I am attaching a small sample that demonstrates the same. Please refer to this.

    Regards,
    Meenakshi

    Prj_CustomizeDefaultFilter.zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels