Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

How do you distinguish which host field is used when using an array on editor.dependent

$
0
0

How do you distinguish which host field is used when using an array on editor.dependent? The only variable that seems to be available for this is val which only gives the value of the host field, but not the name of the host field.

editor.dependent( ['vendor_number','vendor_fname','vendor_lname], function(val,data,callback) {
    alert(val);   //val only provides value of the field. How do I find out which host field is being used. 

        },
    { 
        event: 'keyup'
    }
    
    
    );

Viewing all articles
Browse latest Browse all 2364

Trending Articles