EasyUI Forum
September 18, 2024, 06:52:01 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 ... 8
31  General Category / EasyUI for jQuery / Remove Grid Row on: November 11, 2015, 03:46:37 AM
Hi,

What is the best way to remove grid row while in cell editing mode? I could find it the information here http://www.jeasyui.com/extension/datagrid_cellediting.php

Thanks.
32  General Category / EasyUI for jQuery / Re: Remove textbox Border on: November 09, 2015, 06:47:12 PM
Thank you so much stworthy  Grin
33  General Category / EasyUI for jQuery / Show icon before text in grid column on: November 09, 2015, 04:08:43 PM
Hi,

How to reuse existing jeasui css icon class to show icon before text.

In grid column formatter if meet condition then i would like to return for example "[icon] some text".

Thanks
34  General Category / General Discussion / Re: Child window position limit (constrained) as default behavior on: November 08, 2015, 03:17:49 PM
It's for window only not applied to dialog isn't it ?
I replace the window to dialog and it works good.

Code:
$.extend($.fn.dialog.methods, {
    constrain: function (jq) {
        return jq.each(function () {
            var target = this;
            var state = $(target).data('window');
            $(target).dialog('dialog').draggable({
....
35  General Category / EasyUI for jQuery / Remove textbox Border on: November 08, 2015, 04:26:26 AM
Hi,

1. How can i remove border in textbox ? If i set multiline textbox width and height 100% to its panel container it shows rounded corner which make it does not look nice.

2. Is there a feature to just show/hide border from certain side just like in plain css: border-left, border-right etc for any easyui component. For example nested layout without padding can show double border from 2 component. Grid inside a Panel inside layout. Setting border to false still not perfect.

Thanks.
36  General Category / EasyUI for jQuery / Re: Textbox Set Focus on: November 08, 2015, 03:50:32 AM
Ah the method textbox is confusing so i missed to read this part "Return the textbox object. The user can bind any events to this editing box."

I guess the method name should be getTextbox()  Grin

Thanks.
37  General Category / EasyUI for jQuery / Textbox Set Focus on: November 08, 2015, 03:40:10 AM
Hi,

I could not find a method to set focus to a textbox in the documentation, is there a way $('#tt').textbox('focus') ?

Thanks.

38  General Category / EasyUI for jQuery / Re: Formatter Column Property From PHP Json Encode on: March 13, 2015, 01:57:12 AM
Does Jeasui support formatter in string ?
39  General Category / EasyUI for jQuery / Formatter Column Property From PHP Json Encode on: March 11, 2015, 05:15:58 AM
How can i use formatter property value without string quote from PHP json_encode() ?

I have this:
Code:
['field' => 'total_amount', 'formatter' => 'formatAmount', 'title' => 'Month X', 'width' => 150]

after encoded :
Code:
{'field' : 'total_amount', 'formatter' : 'formatAmount', 'title' : 'Month X', 'width' : 150}

What i want is 'formatter' : formatAmount (without quote) otherwise will throw js error :  Uncaught TypeError: string is not a function

Thank you
40  General Category / Bug Report / Re: Combobox selected but not returned any value on: February 25, 2015, 03:02:25 AM
Hi Jarry,

I use 1.3.6. Do you have hosted minified jeasyui with that version, so i can change the external dependency/resource in you fiddle ?

Thanks.
41  General Category / EasyUI for jQuery / Tree Grid Key Navigation on: February 09, 2015, 08:55:16 PM
I refer to this http://www.jeasyui.com/forum/index.php?topic=483.0 to apply key navigation to grid. It works for datagrid but when i use it for treegrid it does not work and row becomes unselected. When i click using mouse it shows error : Uncaught TypeError: Cannot read property 'my_tree_id' of null

Any clue ?

 
42  General Category / EasyUI for jQuery / Multiple Column Property Grid on: February 07, 2015, 11:30:23 PM
Is it possible to add some more column to property grid rather than limited to 2 columns (name and value)?

For example i want to show Setting Name | Description | Value

Thanks
43  General Category / EasyUI for jQuery / Override Combo underlying data value and field on: February 07, 2015, 09:15:29 PM
Just a trivial question,

How to override valueField and TextField that can be applied globally for all combobox ?

valueField: 'myid',
textField: 'mytext',

Thanks
44  General Category / Bug Report / Combobox selected but not returned any value on: February 04, 2015, 11:46:33 PM
I've faced this problem and can not find why. Here's my code on document ready.

Code:
$('#cb-year').combobox({
            valueField: 'id',
            textField: 'text'
});

$('#cb-year').combobox('loadData', years); //years is json variable
$('#cb-year').combobox('setValue', '2015')
;

When i click combobox, i see '2015' is higligted, but when i run $('#cb-year').combobox('getValue') in browser console, it returns empty string.
if i ('getData'), the data returned seems correct [{id:'2015', text: '2015'}, and so on].

Any clue why ?
45  General Category / EasyUI for jQuery / Re: onclick event on button messager like confirm message on: January 27, 2015, 07:44:25 AM
Code:
$.messager.confirm('Confirm', 'Are you sure to confirm this confirmation?', function(r){
if (r){
// OK click you mean should be here
}
});
Pages: 1 2 [3] 4 5 ... 8
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!