• test269
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 36
    Questions
  • 12
    Replies

Hi All,

 in the following code not geting the inner data table values entered in vf page.(also getting null values)

 

controller

-------------

public with sharing class testcontroller {
   public testcontrolelr(){
   }
   
    public class MainSkudata{
          public integer orderid{get;set;}        
          public boolean allocation{get;set;}
          public string allocationid{get;set;}
          public string conditionallocation{get;set;}
          public string conditionsku{get;set;}
          public list<SubMainSkudata> sublist{set;get;}
   }
   
   public class SubMainSkudata{
          public string ledgernumber{get;set;}
          public string ledgername{get;set;}
          public string percentageamount{get;set;}
          public string suballocationid{get;set;}
          public string recordtypeid{set;get;}
   }  
    public List<SelectOption> getshowConditionsallocation(){
              List<SelectOption> allocationskuconditions= new List<SelectOption>();
                allocationskuconditions.add(new selectOption('IS','SKU Is'));
                allocationskuconditions.add(new selectOption('Starts With','SKU Starts With'));
                allocationskuconditions.add(new selectOption('Ends With','SKU Ends With'));
                allocationskuconditions.add(new selectOption('Includes','SKU Includes'));
                allocationskuconditions.add(new selectOption('Is Recurring','Is Recurring'));
                allocationskuconditions.add(new selectOption('any SKU','Any SKU'));
                return allocationskuconditions;
           }
     
   public Integer submaprowid{get;set;}  
   public void addsubAllocation(){
         List<SubMainSkudata> sal = new List<SubMainSkudata>();
         sal.add(new SubMainSkudata());  
         system.debug('value'+submaprowid);
         MainSkudata m = FieldValueslistAllocations.get(integer.valueOf(submaprowid));
         system.debug('valuesssss'+m);
         m.sublist.add(new SubMainSkudata());
         FieldValueslistAllocations.set(submaprowid,m);              
   }     
           
   public List<MainSkudata> FieldValueslistAllocations;
   public void setFieldValueslistAllocations(List<MainSkudata> items){   FieldValueslistAllocations= items;  }
   public List<MainSkudata> getFieldValueslistAllocations(){
     if(FieldValueslistAllocations==null){
         FieldValueslistAllocations = new list<MainSkudata>();
         List<SubMainSkudata> sublistdat = new List<SubMainSkudata>();
         sublistdat.add(new SubMainSkudata());
         MainSkudata m = new MainSkudata();
         m.sublist = sublistdat;         
         FieldValueslistAllocations.add(m);        
      }             
         return FieldValueslistAllocations;
   }
    
   public void saveskuallcation(){
       system.debug('testvaluessssss'+FieldValueslistAllocations);
   }  
}

 

vf page

---------

 

<apex:page controller="testcontroler">
  <apex:form >
     <apex:pageblock title="Allocations">
      <apex:pageBlockSection title="SKU Allocation" columns="1">
         <apex:outputPanel id="RefreshBlockledger_1">
          <apex:variable value="0" var="rowNumledger"/>
        <apex:dataTable columns="8" value="{!FieldValueslistAllocations}" var="item" cellspacing="-10px"  style="margin-left:40px;margin-top:10px;" >
                <apex:column >
                  <apex:inputhidden value="{!item.allocation}" />
                </apex:column>
                <apex:column >
                  <apex:outputLabel value="If  "/>
                </apex:column>
                 <apex:column headerValue="Condition">
                     <apex:selectlist value="{!item.conditionallocation}" size="1" styleclass="conditionsallocation{!rowNumledger}">             
                      <apex:selectOptions value="{!showConditionsallocation}" />
                     </apex:selectlist>
                 </apex:column>
                   <apex:column headerValue="SKU "   >
                     <apex:inputText value="{!item.conditionsku}"    style="width:150px;" styleClass="conditionsku{!rowNumledger}" maxlength="10"/>
                 </apex:column>
 
                 <apex:column breakBefore="true" colspan="8" rendered="{!IF(VALUE(rowNumledger) < FieldValueslistAllocations.size && VALUE(rowNumledger) != FieldValueslistAllocations.size,true,false)}">
                 
                 <apex:variable value="0" var="rowNumSubAllocation" />
                  
                  <apex:datatable columns="8" value="{!item.sublist}" var="suballocation" cellspacing="-10px"  style="margin-left:40px;margin-top:10px;">
                       <apex:column headerValue="Account Number">
                           <apex:inputText value="{!suballocation.ledgernumber}"/>
                       </apex:column>
                        <apex:column headerValue="Account Name">
                           <apex:inputText value="{!suballocation.ledgername}"/>
                       </apex:column>
                       <apex:column headerValue="Amount">
                           <apex:inputText value="{!suballocation.percentageamount}"/>
                       </apex:column>
                       
                      
                        <apex:column >
                          <apex:variable var="rowNumSubAllocation" value="{!VALUE(rowNumSubAllocation) + 1}"/>
                        </apex:column>                   
                    </apex:datatable>
                        <apex:commandButton action="{!addsubAllocation}" value="Add New" style="margin-top:20px;" reRender="RefreshBlockledger_1">
                          <apex:param name="" value="{!rowNumledger}" assignTo="{!submaprowid}"/>
                        </apex:commandbutton>
                        
                      <apex:variable var="rowNumledger" value="{!VALUE(rowNumledger)+1}"/>
                     </apex:column>
                    
                                   
                   </apex:datatable>
                    
                    <apex:commandButton value="Save" action="{!saveskuallcation}" reRender="RefreshBlockledger_1"/>
                  </apex:outputPanel>
               </apex:pageBlockSection>
              
           </apex:pageBlock>
  </apex:form>
</apex:page>

 

 

Any one can u please help me that issue.

 

Thanks in advance.....

hi all,

  i want to place repeat inside repeat .can u please help me this .

 

Thanks in avance.

hi,

  i placed check box in vf page and also placed outputtext in vf page with escape=false.

when i clicked any place in vf page then it automatically check that heck box.when i placed escape=true then it working fine.

 

 

Any one ca u please helped me this.

 

thanks in advance.

anu

Hi All .

I have three objects.obect1__c, object2__c,object3__c.in this object1 has object2 look up and object3 has object2 lookup.

In this object1 lookup field is test__c and object3 lookup field is test__c. and object3 fields are f1,f2 and date1

 

i want to get the object1 id as well as object3 fields f1,f2 values.For this i have written like this.

 

list<object3__c> obj3list=[select id,f1__c,f2__c,test__c from object3__c where test__c in(select test__c from object1__c) and date1=:system.today()];

in this above query returns only the object3 data.But i want to get the object id also.

 

Can you please help me this.

 

 

Thanks in advance

 

Hi,

 

      i want to get the first monday of the current month date.like this i want to get the nth day of the month in apex code only.

 

 

Any one can u please help me this.

 

Thanks in advance.

Hi All,

  i have written following class for inserting and updating the record.in this updateledger method calling upsert command.when new record is inserted.this method not called.Can u please help me this.

public with sharing class newpagecontroller {
public void ledgerNewTable() {
ledgeradd = true;
}
public PageReference addLEdger() {
insert newledger;
newLedger = new Ledger__c();
return null;
}
public boolean ledgeradd{get;set;}
public string editid{get;set;}
public string updateid{get;set;}
public string delid{get;set;}
public string anum{get;set;}
public string aname{get;set;}
public string atype{get;set;}
public boolean addglopp{get;set;}
public Ledger__c newLedger { get; set; }
public Ledger__c ledgercreation { get; set; }
private List<Ledger__c> ledgertable;
public List<Ledger__c> getledgertable(){
ledgertable = [ SELECT Id,Name,Account_Name__c,Account_Number__c,Account_Type__c,Description__c,Notes__c,Sub_Account__c FROM Ledger__c where Id != null];
if(ledgeradd == true){
ledgertable.add(new Ledger__c());
}
ledgeradd =false;
return ledgertable;
}
public void setledgertable(List<Ledger__c> ledgertable){this.ledgertable= ledgertable;}


public list<Ledger__c> editLedger{get;set;}

public void editLedger() {
editid = ApexPages.currentPage().getParameters().get('editid');
editLedger = [ SELECT Id,Name,Account_Name__c,Account_Number__c,Account_Type__c,Description__c,Notes__c,Sub_Account__c FROM Ledger__c where Id =:editid];
}
public void updateLedger(){
System.debug('updateeeeeeeeeeeeeee');
upsert ledgertable;
}

}

 

 

Page:

<apex:page controller="newpage">
<apex:form >
<apex:pageblock >
<apex:pageBlockSection title="General Ledgers" id="ledgerlist" columns="1">

<apex:pageBlockSectionItem >
<apex:inputcheckbox value="{!addglopp}">
<apex:actionsupport event="onchange" />
</apeX:inputCheckbox>
<apex:outputLabel value="Add GL Information to opportunities"></apex:outputLabel>
</apex:pageBlockSectionItem>

<apex:outputPanel id="glgr">
<apex:outputPanel rendered="{!addglopp}">

<apex:pageblocktable value="{!ledgertable}" var="lgredit" id="lgrtable" cellspacing="-10px" styleclass="datatables">
<apex:variable value="0" var="rowNumlgr"/>
<apex:column headerValue="Account Name">
<apex:outputField value="{!lgredit.Account_Name__c}" rendered="{!IF(lgredit.Id == editid ,false,true)}"/>
<apex:inputField value="{!lgredit.Account_Name__c}" rendered="{!IF(lgredit.Id == editid,true,false)}" styleClass="aname{!rowNumlgr}"/>
</apex:column>
<apex:column >
<apex:commandbutton action="{!editLedger}" value="Edit" rerender="glgr" rendered="{!IF(lgredit.Id == editid ,false,true)}" >
<apex:param name="editid" value="{!lgredit.Id}"/>
</apex:commandbutton>
<apex:commandbutton action="{!updateLedger}" value="Update" rendered="{!IF(lgredit.Id == editid ,true ,false)}"/ >
<apex:param name="updateid " value="{!lgredit.Id}"/>
</apex:column>

</apex:pageblocktable>
</apex:outputPanel>
</apex:outputPanel>
<apex:commandButton action="{!ledgerNewTable}" value="Add GL Account" rerender="glgr" rendered="{!addglopp}"/>
</apex:pageblocksection>
</apex:pageBlock>

</apex:form>
</apex:page>

 

 

Thanks in advance

In visual force i displayed like objects(contact/opportunity) as picklist in one column in another column fields displayed.Based on the object selection(contact/opportunity) that related fields are displayed.But i want to display another column as  based on the field selection(if selectd field type is string then display the input text.if selected field is picklist then display that picklist values in in picklist).like this.........

 

In this i want to place add button also.Means when we click on add button then add the second column (object,fields,that related values) so on.....

Hi,

  I want to insert values to leadsource(standard picklist field) in contact object dynamically using apex coding.

 

Any one can u please help me.

 

Thanks in advance.

Nagalaxmi

System.LimitException: Too many script statements: 200001

Hi i want to pass the file from one page to another page in salesforce apex coding.Any one can u please help me this.

 

Tahnks in advance

n.laxmi

  • September 21, 2012
  • Like
  • 0

Hi All,

 i have one csv file that contains more than one row.Each row has on record .i have to insert multiple records in to custom object.

 

Any one can u please help me this.

 

Thanks in advance.

anu

  • September 11, 2012
  • Like
  • 0

Hi all,

  i want to display account only once for two records have the same name.i have transactio object,and try to insert record in to this object.transaction object haveing account lookup and alsso transaction having first name,last name these are assigned to account name.account displayed only once and and two transactions displayed under account...................................These records are inserted throgh the csv file..................Any one can u please help me this.

 

 

 

 

Thanks in advance.

 

Anu..........

  • September 05, 2012
  • Like
  • 0

Hi All,

 

   i  need to develop forms in salesforce (no integrations)just like form builder.using jquery/apex coding/javascript.If possible can any one send me the creating sample form>Please help me this.

 

 

Thanks in advance.

Anu...........

Hi all,

 i wrote this class for selecting particualr value in picklist then display the popup.Once enter the value in to popup and save that value then popup disappears.this is ok.But whenever the popup disappears. then picklist also closed.Any one can u please help me this.

 

public class pageController {
public string fname{set;get;}
public class customField {

public String fieldType { get; set; }
public String flagForDeletion { get; set; }
private String Value;
public String getTextValue() { return value; }
public String getCheckValue() { return value; }
public String getTextAreaValue() { return value; }
public void setTextValue(String s) { value = s; }
public void setCheckValue(String s) { value = s; }
public void setTextAreaValue(String s) { value = s; }
public Boolean getIsText() { return fieldType == 'text'; }
public Boolean getIsCheck() { return fieldType == 'check'; }
public Boolean getIsTextArea() { return fieldType == 'area'; }
public List<SelectOption> getDataTypeList() {
List<SelectOption> dataTypes = new List<SelectOption>();
dataTypes.add(new SelectOption('--Select--','--Select--'));
dataTypes.add(new SelectOption('text','Text Field'));
dataTypes.add(new SelectOption('check','Checkbox'));
dataTypes.add(new SelectOption('area','Text Area'));
return dataTypes;
}
}

public List<customField> fieldList { get; set; }

public pageController() {
fieldList = new List<customField>();
}

public void addRow() {
customField cf = new customField();
cf.fieldType = '--Select--';
cf.flagForDeletion = 'false';
cf.setTextValue('');
fieldList.add(cf);
}

public void delRows() {
for(Integer i = fieldList.size()-1; i>=0; i--) {
if(fieldList[i].FlagForDeletion == 'true') {
fieldList.remove(i);
}
}
}

public boolean displayPopup {get; set;}

public void closePopup() {
displayPopup = false;
}
public void showPopup() {
displayPopup = true;
}


}

 

<apex:page controller="pageController" sidebar="false" showHeader="false">

<style type="text/css">
.custPopup{
background-color: white;
border-width: 2px;
border-style: solid;
z-index: 9999;
left: 50%;
padding:10px;
position: absolute;
/* These are the 3 css properties you will need to change so the popup
displays in the center of the screen. First set the width. Then set
margin-left to negative half of what the width is. You can add
the height property for a fixed size pop up if you want.*/
width: 500px;
margin-left: -250px;
top:100px;
}
.popupBackground{
background-color:black;
opacity: 0.20;
filter: alpha(opacity = 20);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 9998;
}

</style>

<apex:form id="theForm">
<apex:outputpanel >
<apex:dataTable columns="1" value="{!fieldList}" var="field">
<apex:column >
<apex:inputCheckbox value="{!field.flagfordeletion}" />
<apex:outputpanel >
<apex:selectList value="{!field.fieldtype}" size="1">
<apex:selectOptions value="{!field.datatypelist}" />
<apex:actionSupport event="onchange" reRender="theForm" action="{!showPopup}"/>
</apex:selectList>
</apex:outputpanel>
<apex:inputText value="{!field.textvalue}" rendered="{!field.istext}" >{!fname}</apex:inputtext>
<apex:inputTextarea value="{!field.textareavalue}" rendered="{!field.istextarea}" ></apex:inputtextarea>
<apex:inputCheckbox value="{!field.checkvalue}" rendered="{!field.ischeck}" ></apex:inputCheckbox>
</apex:column>
</apex:dataTable><br />
</apex:outputpanel>
<apex:commandButton action="{!addrow}" value="Add Field"/>
<apex:commandButton action="{!delRows}" value="Delete Selected Field"/>

<apex:outputPanel id="tstpopup">
<apex:outputPanel styleClass="popupBackground" layout="block" rendered="{!displayPopUp}"/>
<apex:outputPanel styleClass="custPopup" layout="block" rendered="{!displayPopUp}">
<apex:pageBlock >
<apex:pageblocksection >
<apex:pageBlockSectionItem >
<apex:outputLabel value="Field Name">
<apex:inputtext value="{!fname}"/>
</apex:outputLabel>
</apex:pageBlockSectionItem>
</apex:pageblocksection>

</apex:pageBlock>
<apex:commandButton value="save" action="{!closePopup}" rerender="tstpopup"/>
</apex:outputPanel>
</apex:outputPanel>

</apex:form>
</apex:page>

 

 

Thanks in advance.

anu........

Hi All,

  i want to display the textbox,textarea,radiobutton in vf page at leftside.Whenever click and drag the text box displaying a textbox with asking name.

How can do this.Any one can u please help me.

 

 

Thanks in advance.

Hi All,

 

 

    I dispalyed all the fields. For example we taken textfield.But when ever click and drag that field then  filed lable and field type as text then disaplay the field lable and input text field.Any one can u please help me this.

 

 

 

Thanks in advance.

anu

Hi All,

 

 

    I dispalyed all the fields. For example we taken textfield.But when ever click and drag that field then  filed lable and field type as text then disaplay the field lable and input text field.Any one can u please help me this.

 

 

 

Thanks in advance.

anu

Hi all,

 

   I want to develop form builder in salesforce.like as (formassembly in appexchange) means i haave to design the form as just drag and drop he fields whatever we want for custom objects ans standard objects also.Any one can u please help me..

 

 

 

 

Thanks in advance

 

anu .......... 

Hi all,

   i have written the following code for date format validation in vf page.

 

var trans=jQuery.trim(jQuery(".transaction").val());

var validformat=/^\d{1,2}\/\d{1,2}\/\d{4}$/ ;



var validformat=/^\d{1,2}\/\d{1,2}\/\d{4}$/ ;

if(trans!=''){

if(!validformat.test(trans)){
condition=1;

alert('date must be in valid format');

}

 

it wrks fine .But i enter the value(13/16/2012-mm/dd/yy) not showing error msg.But i want to display the error msg as its invalid date.Any one can you please help me this.

 

Thanks in advance 

Hi All,

 

    I have one picklist field in vf page not a custom field.This can be written using select options..This value is disable when automatically run tehg page.For this i have used disabled=true.Its disabled the value by default.It works fine,But the value is getting empty whenever using disabled=true.So for  this i have to use JQuery.Any one can u please help me this.

 

 

Thanks in advance

Hi All .

I have three objects.obect1__c, object2__c,object3__c.in this object1 has object2 look up and object3 has object2 lookup.

In this object1 lookup field is test__c and object3 lookup field is test__c. and object3 fields are f1,f2 and date1

 

i want to get the object1 id as well as object3 fields f1,f2 values.For this i have written like this.

 

list<object3__c> obj3list=[select id,f1__c,f2__c,test__c from object3__c where test__c in(select test__c from object1__c) and date1=:system.today()];

in this above query returns only the object3 data.But i want to get the object id also.

 

Can you please help me this.

 

 

Thanks in advance

 

Hi,

  I want to insert values to leadsource(standard picklist field) in contact object dynamically using apex coding.

 

Any one can u please help me.

 

Thanks in advance.

Nagalaxmi

System.LimitException: Too many script statements: 200001

Hi All,

 i have one csv file that contains more than one row.Each row has on record .i have to insert multiple records in to custom object.

 

Any one can u please help me this.

 

Thanks in advance.

anu

  • September 11, 2012
  • Like
  • 0

Hi all ,

 i want to display all the contact fileds in vf apge.for example When click and drage the firstname in contact field then automatilclly text field appears in the vf page.Any one can u please help me this.

 

 

Thanks in advance

anu.............

Hi all,

 

   I want to develop form builder in salesforce.like as (formassembly in appexchange) means i haave to design the form as just drag and drop he fields whatever we want for custom objects ans standard objects also.Any one can u please help me..

 

 

 

 

Thanks in advance

 

anu .......... 

Hi all,

   i have written the following code for date format validation in vf page.

 

var trans=jQuery.trim(jQuery(".transaction").val());

var validformat=/^\d{1,2}\/\d{1,2}\/\d{4}$/ ;



var validformat=/^\d{1,2}\/\d{1,2}\/\d{4}$/ ;

if(trans!=''){

if(!validformat.test(trans)){
condition=1;

alert('date must be in valid format');

}

 

it wrks fine .But i enter the value(13/16/2012-mm/dd/yy) not showing error msg.But i want to display the error msg as its invalid date.Any one can you please help me this.

 

Thanks in advance 

Hi all,

  i want to display the calender beside the text box in vf page.Any one can u please help me .

 

Thanks in advance.

Hi all,

  For displaying csv file data in to vf apge ,for this i can write the controller and page as below

 

controller

 

public class uploadCSVcontroller
  {
public string name{set;get;}
    public Blob contentFile { get; set; }
    public String nameFile { get; set; }
    public Integer rowCount { get; set; }
    public Integer colCount { get; set; }
    
    public List<List<String>> getResults()
    {
        List<List<String>> parsedCSV = new List<List<String>>();
        rowCount = 0;
        colCount = 0;
        if (contentFile != null)
        {
            String fileString = contentFile.toString();
            parsedCSV = parseCSV(fileString, False);
            rowCount = parsedCSV.size();
            for (List<String> row : parsedCSV)
            {
            name=row[2];
            system.debug('??????????????????'+name);
            
            for(string name:row)
           
                if (row.size() > colCount)
                {
               
                    colCount = row.size();
                }
            }
            
        }
        return parsedCSV;
    }
    
    /*public Pagereference CreatePDF()
     {
      pagereference pr = new pagereference('/apex/FinalReport1');
      pr.setredirect(true);
      return pr;
     }*/
    
    public static List<List<String>> parseCSV(String contents,Boolean skipHeaders)
     {
     
        List<List<String>> allFields = new List<List<String>>();
        contents = contents.replaceAll(',"""',',"DBLQT').replaceall('""",','DBLQT",');
        contents = contents.replaceAll('""','DBLQT');
        List<String> lines = new List<String>();
        try
        {
          lines = contents.split('\r'); // using carriage return accomodates windows, unix, and mac files
        }
        catch (System.ListException e)
        {
            System.debug('Limits exceeded?' + e.getMessage());
        }
        Integer num = 0;
        for(String line: lines)
        {
           if (line.replaceAll(',','').trim().length() == 0) break;
            List<String> fields = line.split(',');  
            List<String> cleanFields = new List<String>();
            String compositeField;
            Boolean makeCompositeField = false;
            for(String field: fields)
            {
                if (field.startsWith('"') && field.endsWith('"'))
                {
                    cleanFields.add(field.replaceAll('DBLQT','"'));
                }
                else if (field.startsWith('"'))
                {
                    makeCompositeField = true;
                    compositeField = field;
                }
                else if (field.endsWith('"'))
                {
                    compositeField += ',' + field;
                    cleanFields.add(compositeField.replaceAll('DBLQT','"'));
                    makeCompositeField = false;
                }
                else if (makeCompositeField)
                {
                    compositeField +=  ',' + field;
                }
                else
                {
                    cleanFields.add(field.replaceAll('DBLQT','"'));
                }
            }
            
            allFields.add(cleanFields);
        }
        if (skipHeaders) allFields.remove(0);
        return allFields;       
     }

}

 

page as

 

<apex:page controller="uploadCSVcontroller">
  <apex:form >
  <apex:pageMessages id="pm"/>
  <apex:inputFile value="{!contentFile}" filename="{!nameFile}"/>
  <apex:commandButton value="Display" id="theButton"/>  
 
 
 
  <apex:pageBlock >
  <apex:outputPanel id="results">
  <p>nameFile: {!nameFile}</p>
  <p>rowCount: {!rowCount}</p>
  <p>colCount: {!colCount}</p>
 
    <table title="CSV Output" border="0" width="100%">
       <apex:repeat value="{!results}" var="row">
           <tr>{!name}</tr>--------> for this dispalyed last value .But i want to display all the values in csv file.


           <tr>
               <apex:repeat value="{!row}" var="cell">  For example:i have values in csv file as
                   <td> {!cell} </td>
               </apex:repeat>                       name   city   address
           </tr>
       </apex:repeat>                              aaa         aa       aaa

     </table>                                             bbb         bb       bbb
  </apex:outputPanel>                          ccc          cc        ccc
  </apex:pageBlock>                             ddd         dd        ddd

  </apex:form>                In vf page displayed csv file as it is.It is ok .But i want to get the value in <tr>{!name}</tr>------>
</apex:page>             In this tag displayed the value as  ddd ddd ddd ddd like.

           But i want to display in the following form

aaa

bbb

ccc

ddd

 

 

Any one can u help me plz.

 

Thanks in advance.

 

Hi All,

     i hava two fileds in my visualforce page.One is picklist and another one is text field.

 

Countrycode------------->picklist(ex:options.put('001','US')

Countrycode-------------->text filed.

 

Whenever i enter the Value as US in text filed then it will be stored as 001(not us).How is this possible.Any one can you please help me this.

 

 

Thanks in advance

 

Hi all,

   I have three fields in my vf page.as

 

name--->text field,

 

number --->text field

 

option---->check box

 

In this whenever i check the option checkbox then name will be in disabled mode.How can we do this.Any one can help me.

 

 

 

 

 

 

 

 

 

 

 

 

thanks in advance