Datatables is a useful tool for listing data. It is obviously necessary to modify the table content on the fly. Sometimes we need to add more rows and sometimes need to clear the table. New rows can be added to a DataTable very easily using the fnAddData method. Simply call the function with the data that is to be used for the new row (be it an array or object). Multiple rows can be added using the method while you run this inside a loop. (more…)
Android. What’s not to like about this platform? It’s free, it’s customizable, it’s rapidly growing and it’s available not just on your phone or tablet, but on your smartwatch, TV and car too.
With the latest Lollipop update, Android programming continues to improve. The platform has matured quite a bit since the initial AOSP release, and set the user expectations bar quite high. Look how good the new Material design pattern looks! (more…)
DataTable plug-in usually used to control large amount of data. It manage it’s data with simple pagination functionality. To access Datatable rows they implemented few methods. It is necessary to use those method to traverse all the rows.
In order to access Datatable rows we can’t not use jQuery each method. if we use the jQuery each method then it will return only the visible rows. It will never return the rows which need to be accessed by pagination. But sometimes we need to check all checkboxes from the entire table. Therefore they develop some methods to access all the nodes of the Table. Here i will try to explain the situation. (more…)
DataTables is powerful jQuery plug-in for table development. It make the html table more accessible and flexible for different type of interactions. Here are the key features of DataTables:
- Pagination, instant search and multi-column ordering
- Easily theme-able: DataTables, jQuery UI, Bootstrap, Foundation
- Wide variety of extensions inc. Editor, TableTools, FixedColumns and more
- Extensive options and a beautiful, expressive API
- Fully internationalisable (more…)
It is very easy to check/uncheck a checkbox using jQuery. To do so you need to use the attribute checked and alter that. With jQuery you can do in this way:
12 $('#myCheckbox').attr('checked', true); // Checks it$('#myCheckbox').attr('checked', false); // Unchecks it
Sometime it is necessary to show image from another website. To illustrate, if you want to show your facebook profile picture to your resume, somehow you need to sync FB picture. Here is a easy way to show remote pictures.
Retrieve the whole html content from the remote server. (more…)
Last Sunday (26th July, 2015), i went to Cyberjaya to visit one of my cousin. He is studying there in a finest university in Malaysia. I traveled by A Proton Saga. It took around 1 and half hour to reach there, because i could not accelerate more than 90 km/h and it is the highest speed so far I really like to travel and it give me more pleasure while driving through mountains. Malaysia is a country of mountains. Sometimes it is very difficult to climb mountain roads with my car and even sometime i need to decreases to 1st gear. My cousin brought some delicious food, cooked by my grand-mother, from Bangladesh. We ate them. After that we decided to visit Putrajaya and do some landscape photography (more…)