Main Region

How to get value in grid column for the particular row from FOEX CKEditor item?
| | 1 answers | 8 views

Posted by Nazeer
Oct 8th, 2017 at 10:51

Hi FOEX Team,

WorkSpace : FX_WS_2142

Application : 701

Page : 1010

Steps to Reproduce:

  1. Login in English language.
  2. Expand PASI Menu
  3. Click "PASI->Test Application->Notification text editor"
  4. Click on Ellipsis button of arabic content or english content (Row Action)
  5. It will open a window with arabic/english content already available in the grid.
  6. If I add/change the content in FOEX CKEditor item in the window, How can I get it in the arabic/english content column of the notifications grid. For Example, Reset Password arabic content column is empty. I want to add some text to it. When i click on ellipsis button, it will open content window. Once it is opened, i enter some text and then I click close button of the content window. How can i get the content which i entered in FOEX CKEditor item to the grid's column(ntf_acontent) of reset password notification(ID : 1002) row.

As a R&D, I tried with FOEX Grid Set Row Values, But it didn't worked. Please guide me to achieve this.

Regards, Nazeer


Profile Image
FOEX-SUPPORT on Oct 9th, 2017 at 07:53

We are investigating your requirement.

Nazeer on Oct 9th, 2017 at 09:03

Dear Team,

Thank you. It is working fine.

Regards, Nazeer Ahamed

Profile Image
Oct 9th, 2017 at 08:26

The "FOEX Grid Set Row Values" has an issue which we are addressing. For now please use some javascript to do this. The setup is as follows:

Define a static ID for your grid e.g. NTF_GRID

Create a dynamic action that listens to the "FOEX Window - After Close" event.

alt text

Use the following Javascript:

var grid = Ext.getCmp('NTF_GRID'),
    record = grid.getSelectionModel().getSelection()[0];
if (record) {
    record.set('NTF_ECONTENT', $v('P1010_CONTENT'));

Here is the result:

alt text


You must log in or sign up to post questions and answers.