9
Views
3
Comments
Solved
Assign data in particular Row when data comes Blocks
Question
Application Type
Reactive

Hi All,

I have a case - let me describe step by step.

1. One a screen have one popup

2. on this pop we are using one block and it return some data

3. popup is open when user click on link (for each row in a Table)

4.  need to assign data for particular row which return from block

5 . I am using 

table.list.cureent.entity.columnName=returnvalue 

But it always assign first row.

How can i solve this .


Thanks in Advance

Amogh

Rank: #88
Solution

Hi Amogh,

If i understand correctly  then you should try.

1. Create one local Variable like RowNumber as integer type

2. when click on link for open popup assign currentRowNumber in local variable RowNumber.

3. once your event call of block use this syntax

Table.list[RowNumber].EntityName.ColumnName=ReturnValue.

Hope this will help you.

Regards

Rahul Sahu

Rank: #69

Hi Amogh,

Try to access the list element via index (CurrentRowNumber)

Table.List[x].entity.columName = returnvalue

Where x is the CurrentRowNumber (index) of your list

Rank: #88
Solution

Hi Amogh,

If i understand correctly  then you should try.

1. Create one local Variable like RowNumber as integer type

2. when click on link for open popup assign currentRowNumber in local variable RowNumber.

3. once your event call of block use this syntax

Table.list[RowNumber].EntityName.ColumnName=ReturnValue.

Hope this will help you.

Regards

Rahul Sahu

Rank: #14124

Thanks both of you.