Hi,
i have a grid which renders four columns to the client and i am binding it on clientside by calling a service.This grid is actually inside a dynamic search control that can show 1,2,3 or 4 columns.i am hiding columns based on the response from the service by calling
without postback i will use this grid to show different searches.
Suppose the reponse from service will have 2 column i will hide
column at index 2 and 3, and if response have 1 column then i will
hide column at index 1,2,3. this is working fine.Problem occurs
when i use this control witout posting back to the server. In
that case scenario is suppose first time i loaded data having column
count 1 it will display one column on the grid. then i again loaded
data from different method having column count 2 i need to actually
show all the columns i have set to hidden by calling hideColumn(index)
for this i am calling showColumn(index) this is giving me
Error Image is attached. Please help.
i have a grid which renders four columns to the client and i am binding it on clientside by calling a service.This grid is actually inside a dynamic search control that can show 1,2,3 or 4 columns.i am hiding columns based on the response from the service by calling
tableView.hideColumn(cindex);
without postback i will use this grid to show different searches.
Suppose the reponse from service will have 2 column i will hide
column at index 2 and 3, and if response have 1 column then i will
hide column at index 1,2,3. this is working fine.Problem occurs
when i use this control witout posting back to the server. In
that case scenario is suppose first time i loaded data having column
count 1 it will display one column on the grid. then i again loaded
data from different method having column count 2 i need to actually
show all the columns i have set to hidden by calling hideColumn(index)
for this i am calling showColumn(index) this is giving me
SCRIPT5007: Unable to get value of the property 'position': object is
null or undefined
Error Image is attached. Please help.
