EasyUI Forum
May 14, 2024, 12:30:12 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 ... 11
31  General Category / Bug Report / Re: scrollTo method on datagrid with scrollview does not work on: March 13, 2015, 01:58:30 AM
thanks jarry it's works now Cheesy
32  General Category / Bug Report / Re: scrollTo method on datagrid with scrollview does not work on: March 12, 2015, 09:21:38 PM
thank you very much jarry,

but when i try using that method:

Code:
$list_data.datagrid('scrollTo',80);

it won't scrolling into row 79.

i already include updated scrollview.js

33  General Category / Bug Report / Re: scrollTo method on datagrid with scrollview does not work on: March 12, 2015, 10:20:33 AM
same problem here. hope it can be done
34  General Category / EasyUI for jQuery / Re: How to make datagrid cell text wrapped? on: March 11, 2015, 08:08:10 PM
hahah jadi kaya orang bloon saya, padahal udah disediain methodnya
35  General Category / EasyUI for jQuery / Re: Changin Form Element name attribute on: March 11, 2015, 08:41:14 AM
can you post some of your code here?
36  General Category / EasyUI for jQuery / Re: How to make datagrid cell text wrapped? on: March 11, 2015, 08:34:31 AM
please try this updated fiddle

http://jsfiddle.net/hkz1gpwj/2/

hope it like what you want.

37  General Category / EasyUI for jQuery / Re: Changin Form Element name attribute on: March 11, 2015, 01:27:36 AM
did you already try to getting textbox element first?

Code:
var tx = $('#cb').combobox('textbox');
tx.attr('name', 'new_name');

hope it helps
38  General Category / EasyUI for jQuery / Re: How to make datagrid cell text wrapped? on: March 11, 2015, 01:25:14 AM
i think this property 'autoRowHeight' should be help you.

Code:
Defines if set the row height based on the contents of that row. 

after i read the description, i think this would help you.

39  General Category / EasyUI for jQuery / Re: How to make datagrid cell text wrapped? on: March 10, 2015, 10:12:39 PM
did you already try using formatter?

Code:
formatter: function(value,row,index){
  // limit length with what you want
  if (row.str.length > 50){
    return row.str.substring(0,49);
  }
}

hope it helps Cheesy
40  General Category / Bug Report / Re: edatagrid with scrollview, addRow problems on: March 02, 2015, 07:47:01 AM
i had a similiar issue using scrollview in datagrid. but i'm not using edatagrid extension, just modify normal datagrid and adding CRUD feature.

here is my post, http://www.jeasyui.com/forum/index.php?topic=4465.msg10784#msg10784, hope it helps
41  General Category / EasyUI for jQuery / Re: combo onChange & OnSelect events when form loads on: February 28, 2015, 09:49:23 AM
thanks stworthy
42  General Category / EasyUI for jQuery / Re: combo onChange & OnSelect events when form loads on: February 28, 2015, 08:02:34 AM
there is patch too for version 1.4.0 about this issue stworthy???

43  General Category / EasyUI for jQuery / Re: filter row datagrid with checkbox with three states on: February 26, 2015, 04:44:33 AM
hello stworthy, i already try your extended filter,

here is my code:

Code:

$list_data.datagrid('enableFilter', [
   
      {field: 'updated_at',type: 'dateRange',op: 'betweenDate'},       
      {field: 'pi_date',type: 'dateRange',op: 'betweenDate'},       
      {field: 'post_date',type: 'dateRange',op: 'betweenDate'},       
      {field: 'due_date',type: 'dateRange',op: 'betweenDate'},       
      {field: 'currency_rate',type: 'numberRange',op: 'betweenNumber'},       
      {field: 'amount_tax',type: 'numberRange',op: 'betweenNumber'},       
      {field: 'amount_pi',type: 'numberRange',op: 'betweenNumber'},       
      {field: 'is_pi_or_ret',type: 'checkbox',options: optFilterCheckbox($list_data, 'is_pi_or_ret', 'equal')},       
      {field: 'action', type: 'label'}
    ]);

function optFilterCheckbox(){
    var dg = arguments[0];
    var field = arguments[1];
    var op = arguments[2]

    var opts = {
      onChange:function(target, value){

        console.log(value);
        console.log(target);
        console.log(dg);
        //doFilter(dg);

        /*
        if (value == 'checked'){ 
          addFilterRule(field, true, op, dg);
        }else if (value == 'indeterminate'){
          addFilterRule(field, false, op, dg);
        }else{
          removeFilterRule(field, dg);
        }
        */
        // doFilter(dg);
      }
    }

    return opts;
  } 

i make the filter options dynamic, but i can filter data correctly, the checkbox state won't change when i click it. but when i comment filter rule, i can change checkbox state, but i can't getting checkbox filter value. i can't get value from getValue function on extend filter code.

thanks in advancce
44  General Category / EasyUI for jQuery / Re: datagrid : style of selected rows on: February 26, 2015, 02:45:32 AM
i have same problem here.
45  General Category / Bug Report / Re: Datagrid: Can't scroll columns when there are no rows on: February 25, 2015, 10:39:52 AM
hey jarry, there is patch for this issue for easyui 1.4.0??

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