``` $('.custom_price', table_custom.fn...
# suitescript
m
Copy code
$('.custom_price', table_custom.fnGetNodes()).editable( "{{ base_url("admin_ajax/custom") }}", {
                height: "22px",
                onblur: 'submit',
                submitdata: function ( value, settings ) {
                    return {
                        method : "EDIT",
                        custom_id : "{{ custom_list_id}}",
                        product_id : this.parentNode.getAttribute('data-product-id'),
                        old_value : this.parentNode.getAttribute('data-old-value')
                    };
                },
                callback: function( value, settings ) {
                    var new_price = $.parseJSON(value).value;
                    var pos = table_custom.fnGetPosition( this );
                    table_custom.fnUpdate(new_price, pos[0], pos[1] );
                }
            });