How to activate the buttons in a Tableview of BSP application (SAP) - crm

In a Bsp application i need to activate and make these buttons of a tableview work,currently the buttons are present and part of the layout, but they dont work,anyone has any idea how i could make them work?The buttons that i need to activate are maximize,minimize,standard etc.
Thanks in advance,
Shamiron

Check the code for button, there itself you can resize the button
<Input Type = 'Submit' ... >
I think in that you didnt mention event handler tab section.
<input type=submit name="onInputProcessing(back)" value="home">

Related

CSS: making search box active on the first tab click

The question consists of two parts:
Is it ok (from the UX/UI p.o.v.) to make a search box on the page activated on the first tab keypress?
How to do it technically keeping the rest of the tabbing mechanism intact (e.g. the first element activated on tab keypress by default is now activated right after the search box on the second tab keypress)?
For the desktop browsers it okay. But bad UX for the mobile browser as it will popup the keyboard focus automatically comes to search box.
Set attribute tabindex="0" for the elements programmatically using JavaScript after the the search box leaves focus. Use onblur() event.
You can use tabindex=1 attribute in your search input element to achieve. Like this,
<input type="text" placeholder="Search here" tabindex="1" />
Whether you should or not, This article might help

clicking label doesn't click checkbox in React?

I have created a form where a user can pick options prior to submitting the form. I am hiding the checkboxes with display: none and am styling the <label> so that when the user clicks the label it triggers the checkbox.
I've got this to work in vanilla HTML and CSS, however when I try this in React, clicking the label doesn't do anything. ONLY if I unhide the checkbox am I able to click on the checkbox and am able to see the label styling. I want to hide the checkbox though.
Does anyone know how to hide the checkbox and still able to click the label in ReactJS?
Here is the codepen of what I am trying to build in ReactJS.
Use htmlFor instead of for in react (see react supported attributes):
<input type="checkbox" id="check3"/> Fish
<label htmlFor="check3"><span class="fa fa-check"/></label>
As it was already stated - use htmlFor and then try adding onClick event on label instead of on an input. This will add/remove checked attribute on the input itself. I assume that you already use defaultChecked attribute on your input.

Twitter Bootstrap disabled class prevents button clicking

I am trying to make a button look like a disabled button using bootstrap's disabled class.
But seems it actually disable it.
Actually I want to disable the button as well as show an alert on the click of that disabled button.
And far as I can understand, bootstrap disabled class is a just a normal css class like any other class, which has nothing to do with the functionality of the control
I am not sure if it does something in the javascript part to make disabled class control actually disabled.
Any work around for this.
It would really be helpful if you could provide a sample of your code. Meanwhile, call the alert on the button click before you disable the button.

JqGrid ask for new fields on click custom button

I have added a custom button to the navigator in my jqgrid and i am wondering how can i ,when i click on the button, show a dialog with the same style as the edit dialog and ask for some especific fields that are not included in the colModel. Those field would be to be sent to the server when clicking on ok button.
Any ideas?
Thanks in advance.
Carlos.
You can display the "Edit" dialog using editGridRow method. In the second (properties) parameter of the method you can include your custom beforeShowForm event handler which can make any modifications in the dialog.
See last demo from the answer for an example. The demo has the line
$('<tr class="FormData" id="tr_AddInfo"><td class="CaptionTD ui-widget-content">'+
'<b>Additional Information:</b></td></tr>').insertAfter (nameColumnField);
inside of beforeShowForm.
If the information which you need to show in the dialog are from the hidden column of the grid you can use simplified way which you find here. The main idea in the solution is that jqGrid include in the form dialog all hidden fields, but the corresponding row is hidden. So it is enough just to show the hidden row.

jQuery UI: Button opens Dialog / Button doesn't change status

if I use a button to open a dialog, the button doesn't change the status to normal (stay on ui-state-hover).
How can I tell the button to change back after clicking on it?
Hope some1 can help me :)
I believe ui-state-focus is the class that's being added when the button is clicked. If you add this to the end of the buttons 'click' event, it should reset it to a normal state.
$('#button').toggleClass('ui-state-focus');

Resources