EasyUI Forum
April 27, 2024, 02:22:47 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 ... 6
1  General Category / General Discussion / Re: Datagrid => rowstyle after user event on: June 15, 2020, 10:50:23 AM
Thanks! it  Works!!
Many many Thanks!!!!!!!!
2  General Category / EasyUI for jQuery / Re: Datagrid => replace text with icon on cell on: June 11, 2020, 10:23:07 AM
Thanks!
3  General Category / EasyUI for jQuery / Datagrid => replace text with icon on cell on: June 10, 2020, 01:06:17 PM
Hello to everyone,
is it possibile to replace some text in a cell of datagrid with an icon?
Thanks
4  General Category / General Discussion / Re: Datagrid => rowstyle after user event on: June 07, 2020, 06:23:33 AM
Sorry, I don't understand your answer.
This is the function called after an user event:
Code:
function mouveRowDg_toTop(dg,indexRow,row)
{
if (indexRow > 0)
{
  dg.datagrid('deleteRow', indexRow);
  dg.datagrid('insertRow', {index:0,row:row});
  dg.datagrid('selectRow', 0).datagrid('scrollTo', 0);
}
}

The datagrid is loaded with all element, the problem is: put the text on bold with a backgroud color, after the row is mouved to the top.

How I can do it?
5  General Category / General Discussion / Datagrid => rowstyle after user event [SOLVED] on: May 27, 2020, 10:56:41 AM
Hello to all,
I've a new problem and the situation is this: after user send a special event , i want the row of the datagrid change backgroud color.
If I use the rowstyler function the datagrid reload the data .
So how i can solve this problem? Some one can help me?


Thanks
6  General Category / General Discussion / Re: Datagrid => howto mouve a row on the top of datagrid after an event on: May 27, 2020, 06:08:50 AM
Thanks stoworthy,
elegant solution as ever!
7  General Category / General Discussion / Datagrid => howto mouve a row on the top of datagrid after an event on: May 26, 2020, 01:21:44 PM
Hello to all,
I have a singular problem to solve, hope someone can help me to find a right way.
The problem is: i've a datagrid with some rows. Afert the user find an idValue  typed on a text box, if the idValue exists in the datagrid , the row will be mouved on the top  (row number 1) of the datagrid. It's not a drag and drop function, but similar for the final result

Someone can help me?
Thanks
8  General Category / EasyUI for jQuery / Re: Export all data of a datagrid in server side page mode on: March 30, 2020, 01:12:07 AM
Thanks for reply..
I will try to build a trick ..
9  General Category / EasyUI for jQuery / Export all data of a datagrid in server side page mode on: March 28, 2020, 08:31:24 AM
Hello to all!
I've a datagrid with server side pagination and a button to download the data in file excel.
My need is: is it possible to download the entire data of the datagrid using the server side pagination?

The method $(dg).datagrid('getData') get the paginated rows, so if i've 10 record per page i download just the first 10 record

Some one has solved this "problem" without client side pagination way?
10  General Category / EasyUI for jQuery / Re: Datagrid filter new filter operation on: March 28, 2020, 08:23:31 AM
Thanks!!
11  General Category / EasyUI for jQuery / Datagrid filter new filter operation on: March 26, 2020, 03:11:42 AM
Hello to all,
i've a need to implement a new filter operation in datagrid.
How I can implement the "IN" operator in filter for text separated by comma?

Ex:
in filter box i write : txt1,tx2
After selected the "IN" operator, i will expect  the 'filterRules' parameter will be formated in this way:

filterRules:  [{"field":"filed_X","op":"in","value":"'txt1','txt2'"}]

Someone can help me?
Thanks
12  General Category / EasyUI for jQuery / Re: Scheduler for refresh data in datagrid on: September 19, 2018, 11:22:18 AM
Thanks!
Easy to use and clear!
13  General Category / EasyUI for jQuery / Scheduler for refresh data in datagrid on: September 19, 2018, 02:46:12 AM
Hello to all,
i've a new question about to refresh data on datagrid without to press the refresh button.
My idea it's to have a cron job that call every 5 minutes (or less) the directive : dg.datagrid('reload')

Anyone have some experience on it?
14  General Category / EasyUI for jQuery / Re: [SOLVED] Combogrid cannot read property 'idField' of null on: February 28, 2017, 01:45:07 PM
I solved changing the result value from json array
I used "" (empty value) instead of null value.

Thanks for all support
15  General Category / EasyUI for jQuery / Re: Combogrid cannot read property 'idField' of null on: February 22, 2017, 07:48:44 AM
yes the data array is correct.

if i found in the json array
Code:
 ... "dna_position":null ... 
it  is because i've not value to set in the combogrid

So if i've null value , how i can prevent the error showed in console?
Pages: [1] 2 3 ... 6
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!