Hello,
I’ve seen the new release and colMenu demo. Is there a way to separate this function from the column headers and simply use a dialog? In the past, a dialog would appear and allow searching and scrolling for columns. In our case, there can be a list of 50 to 100 columns available. Your solution seems to make listing that many columns a bit difficult, as well as duplicating the functionality on all columns.
Is there any update on the timeline of this feature? It’s something I’d really like to use.
I fixed the issue. It required picking up the grid id again inside the loadComplete event. My grid is declared dynamically and while I can use it in the loadComplete the first time the grid loads, I ad to re-declare it inside the loadComplete for the Load State to work.
Back again. Got the first problem figured out… ran into a second problem.
I have some hyper links inside table cells for pulling up modals with information. After doing a Load State, the links simply click through to the page instead of pulling up a modal. Even using jQuery.on() they do the same thing.
Any ideas on how to fix that issue?
Hi,
Yes, you explained well. I did try loading after the loadState function but without a delay. I will try using a slight delay and see if that works out.
Not sure what kind of test case you need. It’s really quite simple. When reloading the state by clicking Load State button, the loadComplete function is called but I cannot retrieve the grid row ids.
|
1 2 3 4 |
loadComplete: function () { var data = $(this).getDataIDs(); alert(data); } |
The first time the grid loads, the alert shows the ids. Save the state, leave the page and come back, click Load state, and the alert is blank. It’s not retrieving the ids.
I’m loading the rows dynamically from a server side call and the data is there.
Edit: Nevermind about the grid functions not working. I figured out why and it was my mistake. However, I still can’t call the getDataIds in the loadComplete and retrieve the ids of the rows.
——————
Furthermore, after reloading the state none of the grid functions are called. I use onSelectRow: and onSelectAll: but these are not called when clicking a check box after the state reload.
Am I just missing the point of saving state? It seems the grid should still be functional after reloading a state.
Back again. I’m still having issues with functions after clicking Load state. For example: When first loaded, I want to get the ids so I can select rows, determine if a value = “true” in order to set a check box. This works when first calling the grid. However, saving the state and then reloading, I cannot call
|
1 |
var data = $(this).getDataIDs(); |
and get the ids again. The save state does not save the selected check boxes so I need to reset them again.
Is there some function that gets called after a reload of the state whereby I can get the ids again?
Thanks Will
Thank you for the information.
Instead of trying to save each search a user performs, which they may not wish to keep, is there a way to add a button to the search form so they can click, name, and save the search?
Or, even a custom form on the html page that captures the filter information and allows them to save. I guess that is how I might do it with the information you gave me.
I know there would need to be some backend process for saving (php, mysql, etc) which can be built.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top