|
In addition to running stand-alone DbNetSpell can be integrated with DbNetGrid and DbNetEdit to provide spell checking for the editiable fields.
|
jQuery(document).ready( init )
function init()
{
var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
with (dbnetgrid1)
{
connectionString = "SamplesDatabase"
fromPart = "Employees"
dbNetSpell.connectionString = "DictionaryDatabase";
dbNetSpell.dictionaryTableName = "english_us";
pageSize = 5;
setColumnExpressions("EmployeeID", "LastName", "FirstName", "Notes");
setColumnProperty("Notes","inlineEdit",true);
setColumnProperty("Notes","spellCheck",true);
initialize()
}
}
|