• Abi V 4
  • NEWBIE
  • 80 Points
  • Member since 2016

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 35
    Questions
  • 39
    Replies
I want to create the dropdown with check and dropdown should be open on click of the button .please let me know how to achive this.
I want something like mentioned below.
User-added image
I have the requirement is like to display records more than 1000 records in UI of lightining component.please suggest me how to achive this.
In vf page we have readonly=true attribute it will increase the limit 10,000 similar way let us know if there is any solution.
Hi,

I have the input text field where i want to clear the text value entered by user on click of the button.
Please suggest me how to achive this.It is really need ASAP.
I have the method in doInit which will retrun the data if satisfying few conditions.
There is a chance like data can be return null and in this case i am facing the error that
"Error in $A.getCallback() [a.getReturnValue(...) is null]".Please let me know how to solve this error and it is very urjency.
I have the text field and which is having the values separated by the ; symbol.
Ex:Test1;test2;test3;test4;
Now i want to display these values as below
test1
test2
test3
test4

Please let me know how to achive this formatting.
I am not able to see my tab syle (Icon) in salesforce 1.please let me know for the cause as i am able to see in browser.
I am trying to show the field based on onclick of the radio button.
Id is coming and not able to display it  and facing the  Uncaught TypeError: Cannot read property 'style' of null error.
 <script type="text/javascript">
            function Disablefilter(var1){
                alert(var1)//id is showing in alert.
                     document.getElementById(var1).style.display=display;

          }

let me know where i am missing the logic.Suggest me how to enable the field onclick of radio button using javascript.
          </script>
 
I have two select list with Months and Quarters Filters and one Action button.
If i select  Months and Quarters value at a time i want to consider recent sleected value
<apex:selectOption itemvalue="Reports" itemLabel="select Report" /> <apex:selectOption itemvalue="1" itemLabel="Test1"/> <apex:selectOption itemvalue="2" itemLabel="Test2"/>
</apex:selectList> I select the value 1 first, how do I retrieve the value of 1 after I choose 2 in visualforce page
<script type="text/javascript">
    function Disablefilter(var1){

   var selectreporttype = document.getElementById('{!$Component.fid:pgBlckId:pgsec:pgsecitem:reportSelList}');
        var selreport = selectreporttype.options[selectreporttype.selectedIndex].value;
       var selectreporttype1 = document.getElementById('{!$Component.fid:pgBlckId:pgsec:pgsecitem:MonthSelList}');   


      if(selreport =='Booked Order MTD')
        {
       
       alert('var1')//entering into if condition but the next line is not working for hidden
             document.getElementById('var1').style.display="hidden";

        }
  }
  </script>

  <apex:selectList id="reportSelList" size="1" value="{!selectedreports}" style=" padding: 2px 4px; margin: 4px 2px;"  onchange="Disablefilter('{!$Component.myid}');" >
   <apex:outputPanel id="myid" >   
        <apex:selectList id="MonthSelList" size="1"  title="List of Months in year" value="{!selectedMonth}"  style=" padding: 2px 4px; margin: 4px 2px;" rendered="{!if((selectedreports =='Booked Order YTD' && agingError=true)||(selectedreports =='Revenue YTD' && disablefilter1=true),True,False)}">
                <apex:selectOption itemvalue="Months" itemLabel="Select a Month" />
                <apex:selectOption itemvalue="1" itemLabel="Completed"/>
                <apex:selectOption itemvalue="2" itemLabel="Open"/>
                     
        </apex:selectList>  
  </apex:outputPanel>
String currentmonth = String.Valueof(Date.Today().Month());
for(test__c revn :revnlist){
if(revn.invoice_month__c.equals(currentmonth)){
revenuelist.add(revn);
               }
}
It is not entering into If condition.Here the invoice_month__cholds the values like 1,2,3.. and currentmonth values like 1,2,3..etc
I have the apex controller for vf page and external objects Queries in the controller are not coevring the code coverage.
Please suggest me how to increase the code coverage for external objects SOQL in apex class.
It really needful if anybody can help me on this as i need to deploy the code into PROD by EOD.