Hello,
is there a chance to apply a template (or at least a placeholder) to a column/cell during "inline" editing?
select2 has this feature. http://ivaynberg.github.io/select2/#templating
Hello max ,
Thank you for posting in our forum.
In order to achieve this you would need to add a mask editor for the specific column and set for the inputMask of the editor the format you would like the data to be inputted in.
For example:
columnSettings: [
{
columnKey: "Title",
editorType: "mask",
editorOptions: {
type:"mask",
inputMask : "CCCCCC h\\a"
}
}]
I’ve attached an example for your reference where for the “Title” column an input mask is set. In the upper example 6 literal flags are set that will allow you to input any keyboard character and the entry of them optional. Also at the end some literal characters are added (“ha”). That part of the input field cannot be modified and will always appear for the cells to which this editor is applied.
For details on what type of filter flags you can set in the mask you can check the following link from our API documentation:
http://help.infragistics.com/jQuery/2014.1/ui.igmaskeditor#options:inputMask
Let me know if you have any questions or concerns regarding this.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
hi,
thanks for your answer, I overlooked that.
is it possible to define an inputMask, which takes any number/decimal (with or without decimal separator, any number of digits) ? aligning it right for number input would also be nice.
is this compatible with templates? template: "${Title} ha" and your mask results in "12345 ha ha" instead of "12344 ha".
kind regards.