Hello,
1/ As shown in the last message. The search is performed on the "input" event (look in gridOperations.js -> function changeSearchLoader(nameGrid))Below the searchInGrid(nameGrid) method :function searchInGrid(nameGrid) {
var value = document.getElementById(nameGrid + '_searchbar').value;
var grid = document.getElementById(nameGrid).ej2_instances[0];
grid.search(value);
grid.clearSelection();
}
2/ Below the grid toolbar button method to edit a row element:
function onGridClickDetails(sender, gridName, tableOrFamillyId, nameFamilleLien, isTable) {
//POUR IE
if (gridName === undefined)
gridName = "FlatGrid";
//else {
// offsetX += 20;
// offsetY += 40;
//}
var loader = false;
if (tableOrFamillyId === undefined) {
tableOrFamillyId = $('.titleFamilly').attr('data-tableorfamillyid');
loader = true;
}
var secondForm = false;
if (nameFamilleLien === undefined)
nameFamilleLien = null;
else
secondForm = true;
if (isTable === undefined)
isTable = $('.titleFamilly').attr('data-istable');
var destModal = "destinationModalVisuUpadte" + tableOrFamillyId;
tabIdElement.push(destModal);
//Permet de destroy et de vider le html de la modal si elle existe déjà
if (document.getElementById("destinationModalVisuUpadte" + tableOrFamillyId) != null) {
var dialog = document.getElementById("destinationModalVisuUpadte" + tableOrFamillyId).ej2_instances[0];
dialog.destroy();
$("#destinationModalVisuUpadte" + tableOrFamillyId).remove();
}
// récupération de l'objet de la grille
var gridObject = $.extend(true, {}, document.getElementById(gridName).ej2_instances[0]);
if (gridObject.getSelectedRecords().length === 1) {
var data = gridObject.getSelectedRecords()[0];
var idElem = data.IDEL;
// Récupère l'index de la ligne sélectionnée
rowSelected = gridObject.getSelectedRowIndexes()[0];
//Afficher le loader
//tester si on est sur une grille des liens ou principale
if (loader === false)
{
$("#destinationModalLink" + $("#updateTableOrFamillyId").val()).prepend('<div id="loaderUpdateLink" style="margin:30%" class="loader-download loader-centerd-screen text-center"></div>');
} else {
$("#loaderElement").removeClass("hidden");
}
getModalInformations(tableOrFamillyId, isTable, gridObject, gridName, data, idElem, secondForm);
}
}
3/ I don't understand what you want.
4/ Can't reproduce the issue on your sample (again).
Regards