cancel
Showing results for 
Search instead for 
Did you mean: 

DS 1.2 Double click issue on the crosstab.

manjula_muniveerappa
Participant
0 Kudos

Hi All,

I have built a  Design Studio application 1.2 with 3 level hierarchy data like (Region --> Area Manager --> Station) using HANA as a data source.

I have on click event on the Crosstab which is triggered for drilldown. When User does single click it works as expected but when User accentually does a double click on the crosstab.

I see a flash on the screen and the filter are lost and it brings in all Data.

Not sure how to control the Double click event on the cross tab.

Any input is appreciated.

Thanks,

Manju

Accepted Solutions (1)

Accepted Solutions (1)

manjula_muniveerappa
Participant
0 Kudos

HI All,

I put additional condition on the OnSelect() event for checking the empty
values and its working now.

Thanks,

Manju

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Manjula,

I am running into same issue can you please help me resolve this issue. What additional condition did you added for OnSelect() event to check empty values?

Thanks,

Rajan

manjula_muniveerappa
Participant
0 Kudos

HI Rajan,

add the

var selectedValue=chart.getSelectedMember("WORK_DATE").text)'

if(selectedValue =="")

{

}else

{

do your logic.

}

Thanks,

Manju

Former Member
0 Kudos

Hi Manju,

Thanks for the reply. I have tried the logic you have provided but its giving me script error(highlighted in red)

var CaseFilterI = CROSSTAB_1.getSelectedMember("ZC_COWNR");

if(CaseFilterI =="")

{

}else

{

CASE_DETAILS_INITIAL.setFilter("ZC_COWNR", CaseFilterI);

PAGEBOOK_1.setSelectedPageIndex(2);

CROSSTAB_3.setVisible(true);

TEXT_5.setVisible(true);

}


Do you have any idea why its throwing error?


Thanks,

Rajan

Former Member
0 Kudos

Try this code below!

var servicetype=CROSSTAB_1.getSelectedMember("ZSERSTYP").text;

if ((servicetype==''))

  {

   

  }

  else

{

DS_5.setFilter("ZSERSTYP", CROSSTAB_1.getSelectedMember("ZSERSTYP").internalKey);

PAGEBOOK.setSelectedPageByName("OPEN_SERVICE_DETAILS");

HEADER_TITLE.setVisible(false);

}