Masked Editors do not appear to work with template jquery Grid columns. Is this a known issue / by design?
Hi,
I'm not sure what you're trying to accomplish. Can you explain what is your use case?
Attached you can find a sample which demonstrates igGrid with igNumericEditor in StandardCost column.
The sample is implemented in two steps:
First, I define column template for the StandardCost column. In the template I use plain INPUT type='text' element.
Second, after the grid is initialized I select all the INPUTs in the StandardCost column and initialize igNumericEditor on them.
If you're using igGridUpdating then you can use columnSettings to define your editor. Please, refer to the igGrid Updating document for more information.
Hope this helps,
Martin Pavlov
Infragistics, Inc.
Hi Martin, I'm able to get the numeric editor to correctly show up on my grid now with a template column, thanks for that.
My question is - how do I get at the entered value in the box? When I inspect the html, I don't see the entered text value as the value attribute.
The reason I need this is because I have to invoke another javascript function to compare the value entered in the numeric text to another value (which is the adjacent column - i know how to do this, but I am unable to get the entered value from the igNumeric Editor)
You should use the igNumericEditor.value method.
Given my last sample you can use this call to get the value of the editor with row id 4
var value = $("#lineItem_4").igNumericEditor("value");