Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1290
Using custom templates for popup editor
posted

How can I customize the styles, and templates for the popup window when I am adding/editing a new record into the grid.

Parents
  • 1290
    posted

    Let me elaborate more, based on the online sample here: http://ko.infragistics.com/products/jquery/sample/grid/row-edit-template

    Instead of only changing the appearance of the td and tr tags like this:

        <style type="text/css">
            .tableBackGround
            {
                background-color: #FF7283;
            }
            .labelBackGround
            {
                background-color: #FFE96D;
            }
        </style>
        <script id="rowEditDialogRowTemplate1" type="text/x-jquery-tmpl">    
            <tr class="tableBackGround">                
                <td class="labelBackGround"> ${headerText}
                </td>
                <td data-key='${dataKey}'>
                    <input /> 
                </td>
            </tr>
        </script>

    Is it possible to change the template completely? Like say if I want to write my own template from scratch yet maintaining all other functionality.



Reply Children