EasyUI Forum
May 15, 2024, 08:42:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 [3] 4 5 ... 20
31  General Category / EasyUI for jQuery / Re: Add datagrid header on footer [UNSOLVED] on: March 15, 2016, 05:27:31 AM
any solution?
32  General Category / EasyUI for jQuery / Re: Add/edit datagrid column dynamically? [UNSOLVED] on: March 14, 2016, 09:29:23 PM
this is my code if you wonder how i achieve it .. (thank you for you suggestion mr ink)

im using moment.js (http://momentjs.com/)

Code:
function makeColumn(){
   var SD = '20-02-2016'; //LOWEST DATE
   var ED = '25-02-2016'; //HIGHEST DATE

   var a = moment(ED , "DD-MM-YYYY");
var b = moment(SD , "DD-MM-YYYY");
var totalday = a.diff(b, 'days');

var Heading = [];
   Heading = [
           {
           field:'CREW_NAME',
            title:'Crew Name',
            width:240
       }
       ];

for(var i = 0; i <= totalday; i++){
b = moment(SD , "DD-MM-YYYY");

var dateNow = b.add(i, 'days');
   var dateFormatRaw = dateNow.format('DD_MM_YYYY');
   var dateFormat = dateNow.format('D MMM YYYY');

DATES = {
field : 'DATE_'+dateFormatRaw,
title : dateFormat,
width : '155px'
}
Heading.push(DATES);
}

SetGrid(Heading);
   }

function SetGrid(HeadingArray){

    TEMP_DATA = $('#CREW_BOOKING_TABLE').datagrid('getRows');
    $('#CREW_BOOKING_TABLE').datagrid({ url: '', columns: [HeadingArray] });
    $('#CREW_BOOKING_TABLE').datagrid('loadData', TEMP_DATA);
}

33  General Category / EasyUI for jQuery / Add datagrid header on footer [UNSOLVED] on: March 14, 2016, 09:25:35 PM
How to create datagrid header appear on footer?

I have a project to show a datagrid on very-very big screen about 55" monitor
now i see the header to small to appear in top of datagrid.
so how to make datagrid header appear on both side, header and footer?

Thank you in advance
34  General Category / EasyUI for jQuery / Re: Add/edit datagrid column dynamically? [UNSOLVED] on: March 13, 2016, 07:50:29 PM
ink: that is "re-create" the datagrid..

one of my point is not to destroy and re create the datagrid..

but thank you anyway Smiley
35  General Category / EasyUI for jQuery / Add/edit datagrid column dynamically? [SOLVED?] on: March 10, 2016, 05:18:00 AM
How to add a column to datagrid in dynamic way?
*without rebuild the datagrid (destroy then recreate)

Thank you in advance
36  General Category / EasyUI for jQuery / onLoadSuccess always triggered when something happened to datagrid? [UNSOLVED] on: March 07, 2016, 09:47:15 PM
onLoadSuccess always triggered when something happened to datagrid, for example like
- sorting
- updating row
- etc

so is there any events listener to datagrid that called only one time when the datagrid loaded?

onLoadAtOnce() maybe or something?

Thank you in advance
37  General Category / General Discussion / Re: Licence Change: GPLv3 to "FreeWare" on: March 07, 2016, 05:10:20 AM
Totally agree with you and for myself has decided to abandon the use of EasyUI 1.4.4 in my Open Source projects


wow we have the same action..
some of my open source app have to migrate to other ui because of this..
38  General Category / EasyUI for jQuery / Re: Change window position? [UNSOLVED] on: February 25, 2016, 02:19:48 AM
wow amazing..thankyou jarry Cheesy
39  General Category / EasyUI for jQuery / Change window position? [SOLVED] on: February 25, 2016, 12:04:52 AM
How to change window position on first load or by the dynamic way?
already tried with bottom and right css but have no good results

see this fiddle: http://jsfiddle.net/22jL2hgt/

thank you in advance
40  General Category / EasyUI for jQuery / Re: last update data in datagrid edit dialog box (NOT SOLVED) on: February 14, 2016, 11:29:28 PM
obviously we cannot achieve that using easyUI..
please try auto refresh datagrid like mas finzaiko said above

or use the browser session
http://stackoverflow.com/questions/20219977/how-to-pass-a-value-from-a-parent-window-to-another-html-page-using-javascript
41  General Category / EasyUI for jQuery / Re: last update data in datagrid edit dialog box (NOT SOLVED) on: February 14, 2016, 07:50:12 PM
you just put reload function after your updated succesfully commited
function saveEmp(){
  //your save code
  $('#yourDatagridId').datagrid('reload');
}
42  General Category / EasyUI for jQuery / Re: last update data in datagrid edit dialog box (NOT SOLVED) on: February 09, 2016, 10:11:22 PM
i try to nimbrung too

try to console.log($("#result").datagrid('getRows')); in javascript console after updating data

and then see your javascript console in browser..and then find the row..check if it already updated or not..if not updated that mean your update code is failing/error
43  General Category / EasyUI for jQuery / Re: How to make row group in datagrid? (merged cell) [NOT SOLVED] on: February 09, 2016, 07:49:47 PM
wow .. i missed that one..  Shocked

thank you
44  General Category / EasyUI for jQuery / How to make row group in datagrid? (merged cell) [SOLVED] on: February 09, 2016, 12:45:19 AM
How to make row group in datagrid?

i know there is group view plugin to make rows in group,
but how to make a row totaly merged when its value are same?

see image below:


Thank you in advance
45  General Category / EasyUI for jQuery / Re: How to change combobox panel position? on: February 03, 2016, 09:48:34 PM
please see this fiddle: http://jsfiddle.net/xjsuz3vp/

click the down arrow on combobox then you will see the panel will cover the 3 buttons...

how to get rid of this..i just want to make the panel appear on top right corner of combobox...

thank you
Pages: 1 2 [3] 4 5 ... 20
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!