I am using the FioriButton. I am trying to use a single button that changes its behaviour after clicking on it using a code as sample below (implemented on event click button)
// Display Mode Chart and button is clicked
if (g_DisplayMode == 0) {
}
Initially g_DisplayMode is set 1. First time button is clicked all works fine. icon and tooltip text is replaced. By after clicking again on it only tooltip text is updated. The icon not.
Hi,
I am using the FioriButton. I am trying to use a single button that changes its behaviour after clicking on it using a code as sample below (implemented on event click button)
// Display Mode Chart and button is clicked if (g_DisplayMode == 0) {
} // Display Mode Table and button is clicked else if (g_DisplayMode == 1) {
} Initially g_DisplayMode is set 1. First time button is clicked all works fine. icon and tooltip text is replaced. By after clicking again on it only tooltip text is updated. The icon not.
?? bug