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)
My case is this:
I have a grid - where I have a template column to show a field. We have disabled updating and will manage updating ourselves. So consider a grid with three columns, the third column having an input text box as a template column. Basically just <input type="text" id='lineItem'> etc. We want to put a masked editor here so I saw the documentation and tried
$('#lineItem').igMaskEditor({ inputMask: 'CCCCC' });
But it seems to have no effect. Do I have to put the line above after the initialized event?