EasyUI Forum
December 05, 2025, 06:19:04 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 / General Discussion / Re: Remote validation on: July 06, 2016, 09:25:13 AM
Ok, now I can pass a value via POST to an external PHP, and get response:

Code:
$.extend($.fn.validatebox.defaults.rules, {
dni: {
validator: function(value, param){
$.ajax({
type: "POST",
url: 'php/validation.php',
data: {dni: value},
success: function(data){
if (data == '1')
{
return true
}
else
{
return false
}
}
});
},
message: 'DNI incorrecto'
}
});

This return 1 or 0, and If is working as intended, but cannot show error message. Where I can return validation as true or false?

Thanks again.
2  General Category / General Discussion / Remote validation on: July 06, 2016, 03:55:47 AM
Hi all, anyone knows how to perform remote validation (php) in a textbox? Huh

Thanks
3  General Category / General Discussion / Datagrid load data on: June 29, 2016, 12:25:27 AM
Hi all. I have a site that contain 4 datagrid. When you enter the site you only see one, and clicking in different buttons load window component with datagrid inside. The problem is that when you enter the site, all datagrid data is loaded (shown and hidden datagrid's), and this ofc is a several load impact. ¿Can I load datagrid data only when I go to show that datagrid?

Thanks
4  General Category / General Discussion / Re: Trouble Selecting Tab on: May 04, 2016, 10:26:54 AM
I have rewrite the function and is working now as expected. Thanks.
5  General Category / General Discussion / Re: Trouble Selecting Tab on: May 02, 2016, 11:42:32 PM
Console does not show any error. The call to select tab method is inside a IF. That condition is true, I have set a console.log string to show this. But swap to tab index 1 is not working. Don't know where is the problem.
6  General Category / General Discussion / Trouble Selecting Tab on: May 02, 2016, 10:28:13 AM
Hi all. I have two functions, both triggered on click a link. Both must select a tab, usually I select tab by index. In first function this works perfectly. But the second is not working, with same syntax:

$('#docs_tab').tabs('select', 0);


¿Anyone knows why this method can fail selecting a tab? ¿Any alternative way to acomplish same funcionality?

Thanks
7  General Category / General Discussion / Linkbutton in datagrid row on: April 22, 2016, 12:20:49 AM
Hi, I´m having trouble setting a linkbutton in a datagrid row. The css style from class is not applied:



Anyone knows how to fix this?  Roll Eyes
Thanks
8  General Category / EasyUI for jQuery / Re: Windows Content on: April 22, 2016, 12:07:24 AM
Incredible, perfect solution  Smiley
Thanks
9  General Category / EasyUI for jQuery / Show Window Content while Dragging [SOLVED] on: April 21, 2016, 02:31:24 AM
Hi, need to know if is possible to show window content while dragging. I like that effect.
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!