Can I add a datepicker/month calander or drop down to the add row on the data grid? Basically at this point can the add row have a drop down in it?
I setup the Editor Provider like this...
<EditorProviders>
<ig:MonthCalendarProvider ID="epEditorDtpAutoDate">
<EditorControl ID ="editorDtpAutoDate" DataMode="Date" runat="server" DisplayModeFormat="d">
</EditorControl>
</ig:MonthCalendarProvider>
<ig:TextEditorProvider ID="editorTxtAutoPurposeDestination" runat="server"/>
<ig:DropDownProvider ID="epddpAutoMileage">
<EditorControl ID="ddMileage" ValueField="colKeyAutoAutoMileage" runat="server" DisplayMode="DropDownList" ClientEvents-SelectionChanged="ReimbursementValueChanged" >
<Items>
<ig:DropDownItem Text = "United States" Value = "UnitedStates" Selected="true" />
<ig:DropDownItem Text = "Canada" Value ="Canada" />
</Items>
</ig:DropDownProvider>
</EditorProviders>
My RowAdding....
<ig:RowAdding Alignment="Top">
<AddNewRowClientEvents EnteringEditMode="AddRow"/>
<ColumnSettings>
<ig:RowAddingColumnSetting ColumnKey="AutoDateOfExpense" EditorID="epEditorDtpAutoDate"/>
<ig:RowAddingColumnSetting ColumnKey="AutoPurposeDestination" EditorID="addRowAutoPurposeDestination"/>
<ig:RowAddingColumnSetting ColumnKey="AutoMileage" EditorID ="epddpAutoMileage"/>
<ig:RowAddingColumnSetting ColumnKey="ReimbursementRate" EditorID ="addRowReimbursementRate"/>
<ig:RowAddingColumnSetting ColumnKey="ReimbursementTotal" EditorID ="addRowReimbursementTotal"/>
<ig:RowAddingColumnSetting ColumnKey="AutoOdometerStart" EditorID ="addRowAutoOdometerStart"/>
<ig:RowAddingColumnSetting ColumnKey="AutoOdometerFinish" EditorID ="addRowAutoOdometerFinish"/>
</ColumnSettings>
<EditModeActions EnableOnActive="True" MouseClick="Single" />
</ig:RowAdding>
Hello Abby,
Thank you for posting in our community.
I've created for you a sample that demonstrates drop down editor provider in RowAdding. Here is also link to our documentation that illustrates creating of Editing core Column Settings manually: http://help.infragistics.com/NetAdvantage/ASPNET/2013.1/CLR4.0/?page=WebDataGrid_Setting_Column_Settings_for_a_Behavior.html
Please take a look at the attached sample and let me know if it resolves your issue.
Sincerely,
Tsanna
I am still following your case. I was wondering did you get the chance to run my sample ?
Please do not heistate to contact me if ypu are still in need of assistance.