You need to sign in to do that
Don't have an account?
Royal
OnChange event not working on picklist field ?
<apex:pageBlock id="PageBlock">
<apex:form >
<b>Type </b><apex:selectList id="selectlist" size="1">
<apex:selectOption itemValue="System Note" />
<apex:selectOption itemValue="Opportunty Note"/ >
<apex:selectOption itemValue="Case Note" />
<apex:selectOption itemValue="Case comment Note" />
<apex:actionSupport event="onchange" reRender="tableId" />
</apex:selectList>
<apex:pageBlockTable value="{!DispalyValue}" var="var" id="tableId" >
<apex:column value="{!var.location}" headerValue="location" />
<apex:column value="{!var.name}" headerValue="name"/>
</apex:form >
</apex:pageBlock>
if i select the picklist value pageblock table should be refresh, but not refereshing, what i did wrong here... any idea...
thanks in advance.
<apex:form >
<b>Type </b><apex:selectList id="selectlist" size="1">
<apex:selectOption itemValue="System Note" />
<apex:selectOption itemValue="Opportunty Note"/ >
<apex:selectOption itemValue="Case Note" />
<apex:selectOption itemValue="Case comment Note" />
<apex:actionSupport event="onchange" reRender="tableId" />
</apex:selectList>
<apex:pageBlockTable value="{!DispalyValue}" var="var" id="tableId" >
<apex:column value="{!var.location}" headerValue="location" />
<apex:column value="{!var.name}" headerValue="name"/>
</apex:form >
</apex:pageBlock>
if i select the picklist value pageblock table should be refresh, but not refereshing, what i did wrong here... any idea...
thanks in advance.
Change the event to onselect and try .
Let us know still issue is there .
CAn you explain your requirment if possible ,So that I will create a dummy code for you .
whenever user select the value in picklist second section should be refreshed based on selected value.
is it clear Manoj..
try with below code
Let me know if it helps !!
Thanks
Manoj