SessionMode

Inheritance: java.lang.Object

public final class SessionMode

Represents the session mode of the grid.

Fields

FieldDescription
CUSTOMUses the LoadCustomData event to load the grid’s sheet data manually.
FILEUses the system file to store/recover the grid’s sheet data automatically,user need to set SessionStorePath to specify the file directory.
SESSIONUses the system session to store/recover the grid’s sheet data automatically.
VIEW_STATEUses the page’s viewstate to store/recover the grid’s sheet data automatically.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CUSTOM

public static final int CUSTOM

Uses the LoadCustomData event to load the grid’s sheet data manually. And uses the SheetDataUpdated event to save the grid’s sheet data.

FILE

public static final int FILE

Uses the system file to store/recover the grid’s sheet data automatically,user need to set SessionStorePath to specify the file directory.

SESSION

public static final int SESSION

Uses the system session to store/recover the grid’s sheet data automatically.

VIEW_STATE

public static final int VIEW_STATE

Uses the page’s viewstate to store/recover the grid’s sheet data automatically.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int