DataTable Inline Editing using Python Flask MySQLdb jquery ajax and X-Editable

preview_player
Показать описание
DataTable Inline Editing using Python Flask MySQLdb jquery ajax and X-Editable

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML table.

X-editable
This library allows you to create editable elements on your page. It can be used with any engine (bootstrap, jquery-ui, jquery only) and includes both popup and inline modes.

Рекомендации по теме
Комментарии
Автор

I have a doubt I was using the dropdown logic in my program where I have to get the values from the drop down to serve but in the line
var query = $('#hidden_value').val(); is empty what is the issue?

rahulwaghmare
Автор

That is an excellent Tutorial!! Congrats

wduandy
Автор

How can I add export feature as excel ? Thank you...

salesavcisi
Автор

Thank you so much. It worked perfectly well for me. Is it possible to increase the size of the popup(window) when editing large text?

Roohullah
Автор

is there a way to destroy or disable the editable column for a specific row based on another row's column value ?
$('#sample_data').editable({
container:'body',
selector:'td.name',
url:'/api/updateemployee',
title:'Name',
type:'POST',
disable: true,
validate:function(value){
if($.trim(value) == '')
{
return 'This field is required';
}
},

});

let's suppose that I have a column called lifecycle, it is = 1, how is it possible to disable that row name editing option


Thank you very much

omarfessi
Автор

I get this error when i create a new db in my mysql. When i change database i still get the same error.
(1049, "Unknown database 'php_test_db'")

anantsharma