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
340
WebDataGrid EditCore Cells
posted

hi , 

how can i modify the type of  cells of Webdatagrid editcore,  from defaults to costum ,  like textbox MultiLine or dropdown !

Parents
No Data
Reply
  • 2180
    Offline posted

    Hello.

    You could define column settings on the row editing and provide an editor provider for each column. Here is a code snippet:

        <ig:WebDataGrid ID="WebDataGrid1" runat="server" DataKeyFields="CityID">
            <EditorProviders>
               <ig:NumericEditorProvider ID="NumericEditorProvider1" EditorControl-Buttons-SpinButtonsDisplay="OnRight" EditorControl-SpinDelta="100" EditorControl-MinValue="0"></ig:NumericEditorProvider>
            </EditorProviders>
              <Behaviors>
                <ig:EditingCore>
                    <Behaviors>
                        <ig:RowEditing Enabled="true">
                            <ColumnSettings>
                                <ig:EditingColumnSetting ColumnKey="CityPopulation" EditorID="NumericEditorProvider1" />
                            </ColumnSettings>
                        </ig:RowEditing>
                    </Behaviors>
                </ig:EditingCore>
            </Behaviors>
        </ig:WebDataGrid>

    In this topic https://www.infragistics.com/help/aspnet/webdatagrid-editor-providers, you could find the available built-in editor providers.

    Sincerely,

    Diyan Dimitrov

Children
No Data