Software / Technology Tips

jQGrid -To show some columns and hide some columns

Here is a simple tip on jqGrid. Sometimes in jqGrid, there might be a requirement that we need to show some columns and hide some columns, let’s say, after save button is clicked. Here is the code for that. HTML: SCRIPT: ... jQuery("#list").jqGrid({ url:'Search.aspx?q=1', datatype: "json", colNames:, colModel:, rowNum:10, rowList:, pager: '#pager', sortname: 'id', viewrecords:…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

To Generate A Pdf File Using NlapiXMLtoPDF() In Netsuite On A Button-Click

In this tip i am going to create a button on a record. Clicking the button retrieves the necessary data from the current record and creates a PDF file. The created PDF will then be shown in a seperate window by using a Suitelet. 1.   Create a suitelet with the following code to generate a pdf…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Bootstrap Progress-Bar with jQuery Ajax

Often, we notify user content is download-in-progress by using loading GIFs, which in background are displayed / hidden by using classical callbacks that jQuery ajax exposes namely beforeSend and success, error. One of the disadvantages of using GIF loader is that it cannot indicate by any means, what is the current status of the background…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Show alert message in a Suitelet page after clicking submit button

I am trying to present two tips in this single tip as both needs the same concept. 1.How to show alert message for a suitelet page after clicking an Submit button 2.How to show an alert message if a suitelet page with sublist containing checkbox as one of the field in sublist The below content…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Override ToString() method in C#

Any Object that derives from System.Object implements a method ToString() which upon calling, return the fully qualified name of the class. We can override the ToString() method to return more meaningful Results For ex: Let’s have a console application with a class called Customer, defined like: class Customer { public Customer(string firstName, string lastName, string…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Google Checkout implementation on ASP.NET

In this tutorial, I will be using Google Checkout API which is provided by Google to make online payment. Google has not yet released final version for recurring payment. It is still have some problems. So, the main focus will be on the normal(one time) payment method and verification of the payment to detect any…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Exporting Any Data Into Excel File Using Console Application.

It is easy to imporrt the data from a gridview to an excel sheet. But when the data comes from a database or any datasource it becomes difficult for us to import them into the excel sheet. I have tried the following code in Console application to export the data from the database. Its not…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Creating shortcut from a Java Application

As a java developer, at times you may face a situation where you need to create a desktop shortcut on Windows, from a java application to launch another jar file. Such a particular and especial situation is when you are creating a desktop application which will be installed through java web start and hence you…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to create .exe installer from AIR installer

The required steps are::       1. First we have to make a new folder called 4.0.1 and copy all the contents of the folder       4.0.0, which is a Flex SDK 4.0.0 under the “\Adobe\Flex Builder 3\sdks\” in our system.       2. Then we have to copy the existing AdobeAIRSDK(version 2.5) folder’s contents in the new…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Working with Custom Records in Suitetalk

In order to create or update a custom record through SuiteTalk, we need to first create an object of the ‘CustomRecord’ class and assign the internal id of the record type, we are going to work on, to it. CustomRecord customRecord = new CustomRecord(); Now we assign the internal id of the custom record to…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!