We may need this IE and other browser differentiating styles in order to make our application compatible with old un-upgraded IE engine, but still want to give the good layer of coating to support new browsers with fancy styles which almost are broken in Internet Explorer.
Continue reading “CSS : Differentiate Styles between IE and Other Browser”
FullCalendar by default displays the dates of past and next month. This shows 6 rows on the view. Sometimes, when the complete last week (6th row) will be next month’s dates would have lesser desire for the users. Example: April 2019
Continue reading “FullCalendar : Hide dates of previous and next month”
To get the attributes of elements that has been targeted (which element has been clicked), we can use two ways:
Continue reading “Salesforce Lightning : Get attribute of the elements – Event Handling”
There are multiple approaches to solve the Fizz Buzz Test:
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”
Click to see a simple solution
Modal popup can be added using SLDS as shown here.
It can be shown or hidden in two ways:
- Using CSS Class
- Using attribute variable
Continue reading “Salesforce Lightning : Show or Hide a Modal”
I had an After trigger in a Grand-child object that does some calculations with Child object and updates the result in Parent object. All the calculation logic were perfectly alright. But the result was wrong!
Continue reading “Salesforce: Making a Trigger to execute at last”
In e-commerce sites and in other applications, database sometimes will be designed in such a way that single table has child records in a chained fashion. Like, while defining a Product Type, Category and Sub-Category. A Sub-Category points to a Category in a same table and Category points to a Product Type in a same table. This Chained table has a format of Grand Parent, Parent and Child in same table as:
Continue reading “Chained data using single SQL Query (Fixed Length)”