Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Show/Hide Columns making server side calls
22/01/2014
23:56
Avatar
kapilkanojia
Member
Members
Forum Posts: 3
Member Since:
22/01/2014
sp_UserOfflineSmall Offline

I was creating a grid which has 480 odd columns which includes

"Weekly" i.e. 7 columns,

"Monthty" i.e. 30 columns,

"Quaterly" i.e 60 columns and

"Yealy" i.e. 365 columns

"Additional" 10 columns

Minimum 500 rows, which is 235000 cells that is loaded in DOM.

Scenario 1

So I was thinking to load primary 10 columns which are necessary first and then create a behavior of show hide columns but in this case, I want to load data making a server side call when I click on weekly same way for monthly, quaterly and so on.

Scenario 2

Once I have loaded the data for lets say weekly and I dont to make server call again, once I have the data i want to just show hide columns and not again and again make server calls.

I am looking for this feature.

27/01/2014
13:55
Avatar
Lonewolf217
Member
Members
Forum Posts: 32
Member Since:
22/05/2013
sp_UserOfflineSmall Offline

in scenario one, you can trigger a reloadGrid when you save the new column selections

In scenario two, by default the column changer does not make server side calls since the data is always there it is just hidden. When you enable the column in the column chooser, it just removes the "hidden" attribute on the column so its visible 

27/01/2014
21:09
Avatar
kapilkanojia
Member
Members
Forum Posts: 3
Member Since:
22/01/2014
sp_UserOfflineSmall Offline

Lonewolf217 said:

in scenario one, you can trigger a reloadGrid when you save the new column selections

In scenario two, by default the column changer does not make server side calls since the data is always there it is just hidden. When you enable the column in the column chooser, it just removes the "hidden" attribute on the column so its visible 


Hi Lonewolf217,

Appreciate your response. I agree what you said, but here is the catch, I want to load specific columnset likewise

User expands "Weekly" i.e. 7 columns, then clicks on "Monthty" i.e. 30 columns.

So in this case I want to get the data only for Monthly as I have already loaded data for weekly set.

28/01/2014
00:54
Avatar
Lonewolf217
Member
Members
Forum Posts: 32
Member Since:
22/05/2013
sp_UserOfflineSmall Offline

do you have a demo of this ? I haven't the  slightest idea how you are planning on showing 500 columns

30/01/2014
08:33
Avatar
azaibnoor
Member
Members
Forum Posts: 3
Member Since:
25/01/2014
sp_UserOfflineSmall Offline

Dear,

i hope yor good, actually i have plugin version 1.4.6 and i need to add search tool as above as other table, beside this it wiill stay on page as grid,

thanks,

regard, azaib noor.

30/01/2014
08:33
Avatar
azaibnoor
Member
Members
Forum Posts: 3
Member Since:
25/01/2014
sp_UserOfflineSmall Offline

i need urgent help plzz....

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information