ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 3 replies, has 3 voices, and was last updated by golriz.nourani golriz.nourani 11 months ago.

  • Creator
    Topic
  • #20733

    shreyas
    Participant

    Hi Team ,

    I have used an Column (timediff) which produces html content in datagrid that is used to show an indicator (Green/Red) in table based on the computed values in the query.We need a functionality that include a filter to filter this indicator.So i have used an extra column (timediffindicator) for this to work which sets a flag based on condition as given below

    So As per my understanding when i filter the timediffindicator for value as 1 , it should display respective columns in timediff with #ff4300 indicators only displayed in table . But this filter is not working & an error is shown in Browser as shown :

    Error during Filter

    Please find the filter not working for the indicators shown below (Ecart Horaire? => timediff Column):

    Screenshot of Indicator & Filter

    Please find the attached Datagrid Code given below:

    Please need some suggestion on how to make filter work for this situation explained above.

    Thanks & Regards,
    Shreyas S

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #20769
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello.

    Probably, the easiest fix for this issue is to cast your string to integer, i.e.:

    #20778

    shreyas
    Participant

    Hi Yevhen,

    Thanks a lot for the help. It solved my issue.

    Thanks & Regards,
    Shreyas S

    #24841
    golriz.nourani
    golriz.nourani
    Participant

    Hi
    I have this problem for other type like string

    filter does not work for this column

    could you help me?
    Thanks
    Golriz

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.