Web Analytics Made Easy -
StatCounter updating a cell with fnUpdate from datatables jeditable - CodingForum

Announcement

Collapse
No announcement yet.

updating a cell with fnUpdate from datatables jeditable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • updating a cell with fnUpdate from datatables jeditable

    We use datatables on our site which displays data from a MySQL database, we just installed jeditable for inline editing, when a user updates a field the database is updated but the cell doesn't refresh displaying the new data. Our initialization code is below, any help is appreciated

    Code:
    $(document).ready(function() {
    
                oTable3 = $('#links').dataTable( {
    		"sDom":'t<"bottom"ifpl><"clear">',
    		"bAutoWidth": false,
    		"sPaginationType": "full_numbers",
    			"aoColumns": [ 
    			{ "bSortable": false},
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,
    			null,			
    			null,
    			null
    			]
    
    	} 
    	).makeEditable({
                           	sUpdateURL: "<a href="http://domain.com/account/profiles/updatelinkvalue%22" target="_blank" rel="nofollow">http://domain.com/account/profiles/updatelinkvalue"</a>,
                           	"aoColumns": [
     null,
                                        null,
                        				{
                    						//indicator: 'Saving Engine Version...',
                    						tooltip: 'Click to change link status',
                    						loadtext: 'loading...',
                    						type: 'select',
                    						onblur: 'submit',
                    						submit: 'Ok',
                    						loadurl: '<a href="http://domain.com/account/profiles/engineversionlist%27" target="_blank" rel="nofollow">http://domain.com/account/profiles/engineversionlist'</a>,
                    						loadtype: 'GET',
                    						sUpdateURL: "<a href="http://domain.com/account/profiles/customupdateenginevalue%22" target="_blank" rel="nofollow">http://domain.com/account/profiles/customupdateenginevalue"</a>;
                        				},
Working...
X
😀
🥰
🤢
😎
😡
👍
👎