Hi,
New to Ignite grid. We implemented that grid in MVC . We need to get the Last Clicked column in Grid.
Requirement 1.
We add Load more button if user click the Load more button we passed last Clicked sorted column and loaded in Grid again based on that Sorting to maintain.
Requirement 2:
Lazy loading in that grid if user scroll last window we pass the value and load some more data .Here also sorting needed.
Kannan.
Can you provide sample Link.
Hi Kannan,
I am currently researching and putting together a sample that demonstrates these behaviors for you.
I will have another update on my progress for you tomorrow.
I will need some more time to finish putting my sample together. I currently have load on demand working with sorting when sorting is set to remote.
For more information on the differences between local and remote sorting, please see our documentation here:
https://www.igniteui.com/help/14.1/iggrid-sorting-overview
This documentation describes local vs. remote sorting as such:
Sorting can be configured to operate either locally or remotely. In the first case, sorting is done entirely on the client, without the need of any server requests. In the case of remote sorting, the grid encodes the necessary URL parameters so the server can retrieve information about which columns must be sorted.
I have attached my current MVC sample that shows how you can set up Load On Demand and sorting on the igGrid. In my sample I have Sorting set to remote. This means that when sorting a column, the results will be obtained from the server. You will notice a request sent to the server when sorting a column. This allows the sorting to remain consistent when loading more data.
When I have Sorting set to local in my sample, I do see the behavior you are describing where the newly loaded rows are added to the grid without being properly sorted. I am bringing this up with our developers and I will need a little more time to get this together for them.
I will have an update on this for you tomorrow and continue working on my sample to implement lazy loading for this.
If you still need help with this, please let me know.
What component(s) does the project say are missing? It should be listed at the bottom of the dialog. I am able to open and run the sample in Visual Studio 2010 without error.
Do you have Visual Studio 2010 up to date? The following StackOverflow article discusses this issue, please let me know if this helps.
http://stackoverflow.com/questions/11019361/bogus-web-project-requires-missing-web-component-message-for-razor
If this doesn't help, you could create a project and copy over the Model, View and Controllers from my sample into your project.
If you need further assistance with this, please let me know.
Attachement is not working in your site.. your project not opening in MVC 4 ,VS 2010 . Error is ..
"The project require missing web components in order to load would u like download and install them using web platform Installer now "
Your image did not come through correctly. Could you please explain the issue or zip up your screenshot and attach it to the forum so I may examine it.
Looking forward to hearing from you.
Thanks for your continues support ... I am using Visual studio 2010 and dot net 4.0 ,MVC 4 while open your project facing issues.I attached screen shot please help me out