Skip to main content
April 25, 2024
Question

Expression rule for editable grid

  • April 25, 2024
  • 5 replies
  • 0 views

I have an editable grid when i go to add a row and fill it with some values and then clone the same row.
I want to know that if the user clones or the data of both the rows is the same then the flag should be set to true and if the user clone the row and then change the data in that case set the flag as false.

can anybody help me to make expression rule.

Thanks 

5 replies

konduruc733182
April 25, 2024

Hello [mention:b04813dcb78a48ff889e6fbdf057c6bc:e9ed411860ed4f2ba0265705b8793d05] 

When you mean clone/duplicate, is this happening on the existing data or New data?

If it is new/existing data try using the cdtdifference(). You will have to construct your data when cloned and then evaluate.

harshk1671
April 25, 2024
karthikk538
April 25, 2024

Hi Jojog,

Over all if i understand correctly, if any of the row data is duplicate in editable grid you want to show as true, else false right?

April 25, 2024

[mention:35656ad056ed4a5a9a8091da482e69e9:e9ed411860ed4f2ba0265705b8793d05] 

yes

mikes0011
Brainy
April 25, 2024

What have you already tried / what have you found to not be working?  Can you provide your sample code so far and some screenshots and/or mockups of what you're hoping the form to actually show? 

Your description is a little vague so it'll be hard for others to help you in any concrete way without quite a bit more detail up-front.