Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. <div class="dataGrid_container">
  2. <div class="data_gridBody">
  3. <div class="datagridbg">
  4. <div class="jtable-main-container">
  5. <div id="ProductHelpTable-Sale-offline_newID"></div>
  6. </div>
  7. </div>
  8. </div>
  9. </div>
  10.  
  11. $("#ProductHelpTable-Sale-offline_newID").jtable({
  12. columnSelectable: false,
  13. paging: true,
  14. saveUserPreferences: false,
  15. pageSize: 10,
  16. selecting: true, //Enable selecting
  17. multiselect: "False" == "True" ? true : false, //Allow multiple selecting
  18. selectingCheckboxes: "False" == "True" ? true : false, //Show checkboxes on first column
  19. selectOnRowClick: true, //Enable this to only select using checkboxes
  20. actions: {
  21. // listAction: '/ProductDefinition/SelectProductList'
  22. },
  23. fields: {
  24. //CombinationName: { title: 'Combination Name', width: '15%' },
  25. Name: { title: 'Name', width: '10%' },
  26. Price: { title: 'Price', width: '10%' },
  27.  
  28. },
  29. recordsLoaded: function (event, data) {
  30. window.alert('hello');
  31. }
  32. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement