Flexsheet Context Menu not working

Posted by: sara.siddiqui on 10 June 2019, 7:01 am EST

  • Posted 10 June 2019, 7:01 am EST

    Hi,

    I tried to follow this example but I am unable to get context menu working. In the sample context menu works but in my code it does not.

    https://demos.wijmo.com/5/angular2/FlexSheetIntro/FlexSheetIntro/

    getSelectedObject(item) {

    console.log(“selected item change called”);

    console.log(item.appId == 10);

    if (item.appId == 10) {

    var dataAARLAR: any;

    dataAARLAR = this._BeatService.getAARLAR(50);

    this.flexSheetIntro.selectedSheet.itemsSource = dataAARLAR;

    }

    getAARLAR(count: number){

    console.log(“getAARLAR”);

    var dataAARLAR = ;

    for (var i = 0; i < count; i++){

    dataAARLAR.push({

    TransactionId: ‘’,

    Status: ‘’,

    Owner: ‘’,

    ReportedBy: ‘’,

    ChorusBook: ‘’,

    NodeID: ‘’,

    ChorusLevel: ‘’,

    BusinessArea: ‘’,

    LetterOfRep: ‘’,

    Region: ‘’,

    AarDescription: ‘’,

    AarLar: ‘’,

    AarLarValue: ‘’,

    CompanyCode: ‘’,

    LegalEntity: ‘’,

    CP: ‘’,

    SAPAccount: ‘’,

    FunctionalCurrency: ‘’,

    RiskRating: ‘’,

    Ageing: ‘’,

    GrossAAR: ‘’,

    GrossLAR: ‘’,

    Provision: ‘’,

    NetAssetAtRisk: ‘’,

    GrossAaRGBP: ‘’,

    GrossLaRGBP: ‘’,

    ProvisionGBP: ‘’,

    NetAssetAtRiskGBP: ‘’,

    GenericControlRisk: ‘’,

    GenericControlRiskOtherDescription: ‘’,

    ItemInPriorMonth: ‘’,

    PriorGrossAaR: ‘’,

    PriorGrossLaR: ‘’,

    PriorProvision: ‘’,

    PriorNetAssetAtRiskPrior: ‘’,

    PriorGrossLaRGBP: ‘’,

    PriorProvisionGBP: ‘’,

    PriorNetAssetAtRiskGBP: ‘’,

    PriorRiskRating: ‘’,

    TransactionOriginatingDate: ‘’,

    ReportingDate: ‘’,

    FinalFinancialImpactOnPnL: ‘’,

    WasPriorMonthAARLARClearedtoPnL: ‘’,

    IncidentReportingDate: ‘’,

    SignoffBy: ‘’,

    SignoffDateTime: ‘’,

    DeleteRecord: ‘’

    });

    }

    return (dataAARLAR);

    }

  • Posted 10 June 2019, 6:33 pm EST

    We are sorry but we were not able to replicate the issue at our end. Could you please tell us more about your issue or could you please provide us with a small sample that replicates the issue?

    Also, please refer to the sample below that we used to replicate the issue:

    https://stackblitz.com/edit/angular-fdxvp7

    You may also modify the above sample so that reproduces the issue.

Need extra support?

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

Learn More

Forum Channels