Show Posts
|
Pages: 1 ... 11 12 [13]
|
182
|
General Category / EasyUI for jQuery / Datalist singleSelect
|
on: October 08, 2016, 02:24:11 PM
|
Can't get singleSelect to work
<div id="scanEventID" class="easyui-datalist" title="Scan Event" style="width:600px;height:250px" data-options=" url: 'getfromdb.asp?st=scaneventlist&showall=false', method: 'get', checkbox: true, singleSelect: true, selectOnCheck: false, checkOnSelect: false, idField: 'ID', textField: 'name', toolbar:'#toolbarEventID' "> </div>
Still can select more than one row.
|
|
|
184
|
General Category / EasyUI for jQuery / datagrid-header font size
|
on: September 16, 2016, 01:30:56 AM
|
This works
<style> .datagrid-cell{ font-size: 14px; } .datagrid-header .datagrid-cell{ font-weight: bold; color: blue; } </style>
Changing cell font size Works
<style> .datagrid-cell{ font-size: 18px; } .datagrid-header .datagrid-cell{ font-weight: bold; color: blue;
} </style>
Changing header font size doesn't Work
<style> .datagrid-cell{ font-size: 18px; } .datagrid-header .datagrid-cell{ font-weight: bold; color: blue; font-size:18px; } </style>
What am i doing wrong ??
Jesper
|
|
|
185
|
General Category / EasyUI for jQuery / Re: Weeknumbers in calendar
|
on: August 30, 2016, 10:51:39 PM
|
Hi.
why does this not Work ?
<input id="db1" name="db1" class="easyui-datebox"> <input id="db2" name="db2" class="easyui-datebox">
<script type="text/javascript"> $( document ).ready(function(){ $('.easyui-datebox').datebox('calendar').calendar({showWeek:true,weekNumberHeader:'u'});
}); </script>
Only db1 get showWeek true
|
|
|
188
|
General Category / EasyUI for jQuery / Re: [SOLVED] Draggable set position
|
on: July 18, 2016, 03:00:47 AM
|
Doesn't Work, $('#teamNameShape').css('left', saved number); $('#teamNameShape').css('top', saved number);
But this Work ;-) $('#'+element.shapeName).css({left: element.shapeLeft+'px', top: element.shapeTop+'px', position:'absolute'});
|
|
|
190
|
General Category / EasyUI for jQuery / [SOLVED] Draggable set position
|
on: July 16, 2016, 11:34:20 AM
|
Hi.
Have this div
<div id="teamNameShape" class="easyui-draggable" data-options="onDrag:onDrag,onStopDrag:onStopDrag" style="width:auto;height:auto"></div>
in function onStopDrag, i save the left and top to database.
When open site, i want to set div at the saved position.
Can't see something like
$('#teamNameShape').draggable('left',saved number) $('#teamNameShape').draggable('top',saved number)
Any help ??
|
|
|
|