Hi,
I am trying to implement an example with igGrid (JS) and i can not clear all data in my selection with "DEL" button that on my keyboard.
In Excel we can clear all selected cells and i am wondering what will be happen in igGrid?
Hello Burcu,
Currently clearing a selection in igGrid is possible only through Ctrl+clicking the selected row/cell. If you want to use other keys to perform this operation, I would suggest you to submit a product idea at: http://ideas.infragistics.com
Steps to create your idea: 1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)3. Add your product idea and be sure to be specific and provide as much detail as possible. • Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!• [CASE: “Reference case [case number], FORUMS: “Include a link to this thread”] in your idea so product management will be able to look back at this case.
Please let me know if I may be of further assistance for you regarding this matter.
Regards,
Tsanna
Sorry i think there is a misunderstanding. I dont mention about clearing selection. It was deleting cell datas. Can it possible with igGrid?
I may write delete key event below but i can not find removing cell data example.
$("#grid").igGrid({ width: "100%", autoGenerateColumns: false})
.on('keydown', function (evnt) {
//handle grid's keydown event var ctrl = evnt.ctrlKey, key = evnt.keyCode; if (ctrl && key == 86 || evnt.shiftKey && key == 45) // Ctrl-V || Shift-Ins { //on paste (Ctrl+V) move focus to textarea $("#pasteHelper").focus(); } else if (key == 46) {
// Keyboard DEL button alert("all selected cell datas removed");
} });