EasyUI Forum
September 13, 2025, 06:32:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: How to force reload of node in treegrid on re-expand node ? on: October 12, 2016, 02:26:38 AM
Hello,
This time it works perfectly, thanks Smiley.

I think it's an useful ability, so can I politely suggest to add it as a feature (via a new option) in an future release ? Smiley

Thank you again !
2  General Category / EasyUI for jQuery / Re: How to force reload of node in treegrid on re-expand node ? on: October 04, 2016, 07:54:03 AM
Hello,

Thank you, it works as desired. I just had to adapt a few things like the "id" property of "row" to make it work.

But I noticed one problem : the node is refreshed, but when now when I expand a node it triggers two POSTs on the data service. Exactly the same post twice.
This seems to happen only the very first time I open a node, but not for the other times but I'm not sure.

I'm using jQuery EasyUI 1.5 and jQuery 3.1 with last version of Firefox.

Are you able to reproduce the problem ? Let me know if you need more of my code.
3  General Category / EasyUI for jQuery / How to force reload of node in treegrid on re-expand node ? on: September 28, 2016, 03:21:40 AM
Hello,

I'm using treegrid with dynamic loading, it works great.

I've one little question with it : by default, when the user collapses and re-expands a node previously expanded once, the treegrid displays the content previously fetched from the server instead of doing a new call.

This "keep in memory" feature is very good to avoid in some case to call the server again, but in my own case I would like to be able to force the treegrid to refresh the node content everytime is closed and re-expanded with updated server data.

This is probably easy to achieve but I have been unable to figure how, I've tried a few things in "onExpand" handler (like calls to "reload", "update"...) but none of them behaves like I would.

Thank you!
4  General Category / EasyUI for jQuery / Re: Submit params while loading Treegrid from server ? on: July 13, 2016, 08:06:59 AM
You're right, it works perfectly ! Sorry to not have tried it before as it's not in the spec. I suggest to enhance the Treegrid Documentation page with this, it's a very useful feature Smiley
5  General Category / EasyUI for jQuery / Submit params while loading Treegrid from server ? on: July 13, 2016, 03:10:26 AM
Hello,

To fill a datagrid using some custom params while retrieving data from server, if I'm right we can use the queryParams argument.

I would like to achieve the same thing with Treegrid, but I don't see the queryParams argument or anything which seems to do the same, could you please help me ?
I'm only aware of "url" parameter, which doesn't allow to specify additionnal parameters to server.

Thank you very much for your great JS library, it's really a pleasure to work with it.
6  General Category / EasyUI for jQuery / Re: "lines" property of Treegrid seems to do nothing ? on: July 13, 2016, 01:14:05 AM
Ok. I finally got it, it's not about the grid lines between each rows/columns but about the appearance of the tree itself, on left of screen.

On the Demo page about this, I suggest to add a "lines = true / false" screenshot comparison of the appearance and a short explanation about it.
At first read (maybe because english is not my mother language) I thought "lines" was about the grid.
Thank you
7  General Category / Bug Report / Re: NumberBox doesn't work for some keyboards layouts on: July 11, 2016, 09:25:51 AM
Hello,
At first glance it looks to work well !

I just added
Code:
if (e.which == 8)
{
    return true;
}
To allow backspace.

Do you plan to include the fix in a coming release ?

Thank you!
8  General Category / EasyUI for jQuery / "lines" property of Treegrid seems to do nothing ? on: July 11, 2016, 12:08:30 AM
Hello,

I can't figure how the lines property works, or it doesn't : regardless you put it to true or false, the grid is always visible in treegrid ?

It's not a big issue, because it can easily be fixed in CSS :
.datagrid-header td, .datagrid-body td, .datagrid-footer td { border:none; }
But I don't understand the purpose of the property 'lines' as it doesn't seem to do what it suggests.

Thank you
9  General Category / Bug Report / NumberBox doesn't work for some keyboards layouts on: July 11, 2016, 12:07:34 AM
Hello,

I found a very annoying issue with numberbox (which probably also affects some other easyui controls) : it's not possible to type numbers with AZERTY keyboards (and maybe with some others) :
- It's ok with the numeric keypad
- It's ok using the numbers above first row of chars with caps lock enabled
- But it's NOT ok while using Shift key !

You maybe asking "Why the hell does he wants to use shift key to input numbers Huh"

I guess your input filtering method is intended to work for QWERTY layout.

With (at least) AZERTY keyboards layout, you have to enable CAPS to input digits using the numbers above the AZERTY line, see here for example to understand :
http://www.informatique-astuces.com/wp-content/uploads/2013/07/qwerty-azerty-correspondances-touches.jpg

Please note the AZERTY layout is used in Europa by millions of people (mainly in France but also in other countries like Belgium).

So you should NOT prevent to press the "shift" key, or it won't be possible to input numbers.

Could you please suggest me a temporary fix for this issue, and fix it in the upcoming version of easyui ?
For me it sounds like a bug.

Thank you
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!