EasyUI Forum
September 14, 2025, 03:06:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Catch End Of Selection Or Close on Combogrid  (Read 7487 times)
sumi
Newbie
*
Posts: 2


View Profile
« on: June 16, 2014, 02:20:01 AM »

How can I catch the event that combogrid selection finished, when multiple selection possible.

My intention is to dynamically draw a table rows and a total row based on the selected items from combo grid.

I can append a table row each time one item is selected. But for the total row I would like to catch the end of selection.

Any help / ideas appreciated..

I tried onblur like this but not working.

Code:
 $("#invoice_ids").combogrid().blur(function(){  
        alert("onblur"); 
    }); 
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: June 16, 2014, 07:23:35 AM »

The 'onSelect' event fires when the user selects a row.
Code:
$('#cg').combogrid({
  onSelect:function(row){
    //...
  }
});
If you want to bind the 'blur' event on the text box, try this:
Code:
$('#cg').combogrid('textbox').bind('blur', function(){
  //...
});
Logged
sumi
Newbie
*
Posts: 2


View Profile
« Reply #2 on: June 16, 2014, 11:25:10 PM »

Thank you .

I did it without blur.  Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!