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
895
Can I add a datepicker or drop down to the add row on the data grid?
posted

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>

</EditorControl>

</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>