EasyUI Forum
November 14, 2024, 03:08:29 PM *
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 ... 20
1  General Category / EasyUI for jQuery / Re: disable "select" event on datagrid on: August 14, 2018, 09:32:39 AM
i realized that

onSelect: function(index, row) {
   $(this).datagrid('unselectRow', index);
}

will trigger select event then unselect event.. should be fixed
2  General Category / EasyUI for jQuery / Re: How to get column name in formatter? on: May 13, 2018, 09:55:33 PM
should be on documentation
3  General Category / EasyUI for jQuery / Re: How to get column name in formatter? on: January 18, 2018, 10:44:00 AM
never mind

Code:
function formatContent(value,row,index){
    var col = "";
    for(var name in row){
        col = "";
        var value = row[name];
        if(value === val){
            col = name;
            break;
        }
    }
    return col;
}
4  General Category / EasyUI for jQuery / Re: How to get column name in formatter? on: January 18, 2018, 09:53:26 AM
Hello stworthy,

Is this possible to get colum name while formatting its column?

Thank you
5  General Category / Bug Report / Bug in Menu Button on: April 28, 2017, 08:54:29 AM
take a look at : http://www.jeasyui.com/demo/main/index.php?plugin=Menu&theme=default&dir=ltr&pitem=&sort=

open Keyboard Navigation module
right click on the menu

then Menu moved unconditionally
6  General Category / EasyUI for jQuery / How to get column name in formatter? on: March 28, 2017, 11:22:38 PM
How to get column name in formatter?
Code:
function formatContent(value,row,index){
        data = columnName.split('-');
if(data[1] != undefined){
return 'OK';
} else {
return 'NOT OK';
}
}

Thank you in advance
7  General Category / EasyUI for jQuery / Re: subgrid toolbar on: March 27, 2017, 10:17:24 AM
You can set the 'toolbar' property to setup the datagrid toolbar. Please look at this example http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=DataGrid%20with%20Toolbar

How to style the toolbar wrapper css if its created on javascript?
8  General Category / EasyUI for jQuery / Re: Groups in combobox on: January 13, 2017, 08:58:58 AM
How to achieve it thru html ? thank you..

[UPDATE] sorry got it

  <optgroup label="Swedish Cars">
    <option value="volvo">Volvo</option>
    <option value="saab">Saab</option>
  </optgroup>
  <optgroup label="German Cars">
    <option value="mercedes">Mercedes</option>
    <option value="audi">Audi</option>
  </optgroup>
9  General Category / General Discussion / Red underline on datagrid text input or textbox (when grammar is error) on: December 26, 2016, 11:06:25 PM
I see there are red underline in grammar error text on easyui textbox or textarea (on datagrid too), like this


I try to mod the easyui.min.js and adding
Code:
spellcheck=\"false\"
like code below
Code:
init:function(_7bf,_7c0){
var _7c1=$("<input type=\"text\" spellcheck=\"false\" class=\"datagrid-editable-input\">").appendTo(_7bf);
if(_7c1[name]&&name!="text"){
return _7c1[name](_7c0);
}else{
return _7c1;
}
}

it works but do you want consider to add this as easyui builtin optional in the future?

Thank you in advance
10  General Category / EasyUI for jQuery / Re: Frozen column appear on right side of table? on: December 26, 2016, 09:10:28 PM
its working Smiley

but the row number follow its position, how to make the row number column stay on the left side?

11  General Category / General Discussion / Re: New plugin (Text Editor) [SOLVED] on: December 26, 2016, 06:16:15 AM
Here the text editor extension
http://www.jeasyui.com/extension/texteditor.php

Smiley thank you for the devs
12  General Category / EasyUI for jQuery / Frozen column appear on right side of table? on: December 26, 2016, 03:30:41 AM
How to make frozen column appear on right side of table?

Thank you in advance
13  General Category / EasyUI for jQuery / $.messager.prompt Ok and Cancel callback on: October 18, 2016, 02:18:36 AM
Where is $.messager.prompt Ok and Cancel callback

because on documentation i only found fn(val): The callback function with a value parameter user entered.

how to detect if Ok button pressed? thank you in advance
14  General Category / EasyUI for jQuery / Get/set datagrid cell attribute on: September 16, 2016, 12:08:51 AM
How to get or set datagrid cell attributes ?

Ex: I want to inject cell attribute with onclick action but don't know how to do it

My best only using cell formatter

Code:
  function formatCel(value,row,index){
        $(this).attr("onclick","alert()");
        return value;
    }
But have no results,

thank you in advance
15  General Category / General Discussion / Re: Gantt Chart on: September 08, 2016, 08:00:27 PM
use 3rd party js

ex: http://taitems.github.io/jQuery.Gantt/
Pages: [1] 2 3 ... 20
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!