Hi,
I am looking for how to change the value in the "Medical" dropDown inside the UltraWebGrid according to the value selected in the "dep" dropdown using javaScript, i.e. to make the value in Medical reflect the value selected in Dep.
Promp help greatly appreciate by both me and users :)
<
igtbl:UltraWebGrid ID="ugrdApplicants" runat="server" Width="325px" OnSortColumn="ugrdApplicants_SortColumn" Height="200px">
<Bands>
<igtbl:UltraGridBand Key="Applicants" RowSelectors="No" AllowAdd="No" AllowDelete="Yes" AllowUpdate="Yes" AllowColumnMoving="None" AllowSorting="Yes" CellClickAction="Edit" SelectTypeCell="Single" SelectTypeRow ="Single">
<Columns>
igtbl:UltraGridColumn AllowUpdate="Yes" BaseColumnName="Dep" EditorControlID="" HeaderText="Dep" Key="Dep" Type="DropDownList" Width="50px">
<ValueList>
<Style CssClass="comboBox"></Style>
<ValueListItems>
<igtbl:ValueListItem DataValue="EE" DisplayText="EE" />
<igtbl:ValueListItem DataValue="ES" DisplayText="ES" />
<igtbl:ValueListItem DataValue="1C" DisplayText="1C" />
<igtbl:ValueListItem DataValue="+C" DisplayText="+C" />
<igtbl:ValueListItem DataValue="FA" DisplayText="FA" />
</ValueListItems>
</ValueList>
<Header Caption="Dep">
<RowLayoutColumnInfo OriginX="6" />
</Header>
<Footer>
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn BaseColumnName="Medical" DataType="System.Boolean" HeaderClickAction="Select"
HeaderText="Medical" Key="Medical" Type="DropDownList" Width="50px">
<igtbl:ValueListItem DataValue="W" DisplayText="W" />
<Header Caption="Medical" ClickAction="Select" Title="Medical">
<RowLayoutColumnInfo OriginX="11" />
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AutoGenerateColumns="False">
<EditCellStyleDefault CssClass="comboBox"></EditCellStyleDefault>
<ClientSideEvents AfterRowInsertHandler="ugrdApplicants_AfterRowInsertHandler"
EditKeyDownHandler="ugrdApplicants_EditKeyDownHandler"
AfterSortColumnHandler="ugrdApplicants_AfterSortColumnHandler"
AfterCellUpdateHandler="ugrdApplicants_AfterCellUpdateHandler"
ClickCellButtonHandler="ugrdApplicants_ClickCellButtonHandler" />
</DisplayLayout>
</igtbl:UltraWebGrid>
Hello alokazia
I know it has been a while since you asked this question but i will provide a suggestion. Please take a look at the attached sample. You will have to add northwind manually in order to run it.