How to add Jquery Grid view in a plugin

Hi guys,I am learning the elgg framework, I have developed a plugin for event registration, plugin working correctly but now I want add Jquery Grid view for event details.I mean user can see the event details in tabular grid format,  but I dont know how to deal with jquery grid plugin in elgg, SO can you please help to deal with it??   If you want I can share the my event coding ...

  • I have used Jqgrid for search results. All you need is to include the javascript files and html in your plugin and override the default view.

  • Thanks gluck for your reply,,I already tried it but didnt worked,,may be I did some wrong attempt , so plea se can you tell me how to do it??

    I have tried as I have register the js file in plugin's start file like

    $url = 'mod/events/vendors/PARAMgrid/pqgrid.min.js';
    elgg_register_js('pqgrid', $url, 'footer');
    elgg_load_js('pqgrid');
    elgg_extend_view('js/elgg','events/js');
    elgg_extend_view('css/elgg','events/pqgrid');

     

    please tell me where Im wrong..Thanks in advance

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking