EasyUI Forum
May 07, 2024, 07:13:38 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: $.messager.alert on: November 27, 2017, 09:33:27 PM
jarry. Thank you for your reply. Grin
2  General Category / EasyUI for jQuery / Re: $.messager.alert on: November 27, 2017, 07:07:21 PM
jarry. Thank you for your reply. But the problem has not been solved.

It is my source

function toUpper(ev, str) {
      
$.messager.alert({
     title: 'Warning',
     msg: 'Error.',
     fn: function(){
         alert("OK");
     }
});

}

See the photo I attached

The alert window pops up. But the title, msg, and fn functions do not work  Huh

3  General Category / EasyUI for jQuery / $.messager.alert on: November 27, 2017, 12:58:59 AM
I want to give focus after pressing the $.messager.alert() function OK button.

However, when you click the OK button, focus disappears.

I know I can give an event to $.messager.confirm() function.

but I want to give an event when the OK button is pressed on the $.messager.alert() function.

$.messager.alert() function Can I give an event to the OK button? (I want to give focus event after pressing OK button)

If I can not give an event to the OK button in $ .messager.alert(), can I delete the cancle button in $ .messager.confirm() function?

thanks for reading
4  General Category / EasyUI for jQuery / Re: DATAGRID black space remove on: November 26, 2017, 11:49:29 PM
Thank you so much, have a nice day Smiley
5  General Category / EasyUI for jQuery / DATAGRID black space remove on: November 26, 2017, 09:11:25 PM
Hi, There are questions

This is my source.

<table id="airline" class="easyui-datagrid" title="Airline" style=" width:1550px; height:auto "
data-options="singleSelect: true, toolbar: '#functionS', method: 'post', onClickCell: onClickCell, onEndEdit: onEndEdit,
fitColumns: true, autoRowHeight: true, nowrap:false">

<thead>
      <tr>
             <th rowspan="2" data-options="field:'column1', width:200, align:'center', editor:{type:'text'} ">column1</th>
             <th rowspan="2" data-options="field:'column2', width:200, align:'center', editor:{type:'text'} ">column2</th>
             <th rowspan="2" data-options="field:'column3', width:199, align:'center', editor:{type:'text'} ">column3</th>
             <th rowspan="2" data-options="field:'column4', width:199, align:'center', editor:{type:'text'} ">column4</th>
      </tr>
</thead>

</table>

I declare fitColumns: true to remove horizontal scrolling when outputting data to the datagrid.

There is a blank space in the red box in the picture file I attached. Even when outputting the data, the space does not disappear but is outputted in the same way.

fitColumns: true Deleting true causes scroll bars on horizontal lines

I want to get rid of that space.

Is there a way to remove it?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!