Click here to Skip to main content
15,896,348 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How do can I communicate to Graphtech Cutting Plotters by JavaScript or Jquery? Pin
Richard MacCutchan7-Mar-16 22:02
mveRichard MacCutchan7-Mar-16 22:02 
GeneralRe: How do can I communicate to Graphtech Cutting Plotters by JavaScript or Jquery? Pin
tienich17-Mar-16 6:46
tienich17-Mar-16 6:46 
AnswerRe: How do can I communicate to Graphtech Cutting Plotters by JavaScript or Jquery? Pin
Nathan Minier11-Mar-16 1:30
professionalNathan Minier11-Mar-16 1:30 
GeneralRe: How do can I communicate to Graphtech Cutting Plotters by JavaScript or Jquery? Pin
tienich17-Mar-16 6:46
tienich17-Mar-16 6:46 
QuestionPhoneGap Pin
vivek rajavel2-Mar-16 23:23
vivek rajavel2-Mar-16 23:23 
SuggestionRe: PhoneGap Pin
Richard Deeming2-Mar-16 23:43
mveRichard Deeming2-Mar-16 23:43 
GeneralRe: PhoneGap Pin
vivek rajavel3-Mar-16 0:11
vivek rajavel3-Mar-16 0:11 
Questionng-grid wrap-text rows with verical scrolling Pin
Stephen Holdorf1-Mar-16 14:35
Stephen Holdorf1-Mar-16 14:35 
I have a ng-grid that I am trying create a wrap-text column for a column that contains multiple lines of comment text. I have been trying everything today that I can find on the internet and still can't find a solution. I want to show you my code and if someone can tell me a better way of doing this that would be a great help.

.gridStyle4 {
border: 1px solid #dfdfdf;
overflow-y: scroll;
}

HTML
<div style="margin-top:100px;">
  <hr style="height:1px; background-color: silver; border:0px; margin-top:0px; margin-bottom:10px;" />
  <div class="gridStyle4" ng-grid="gridOptions" />
  <div class="pagination">
    <ul>
      <li ng-class="{disabled: currentPage == 1}">
        <a ng-click="prevPage()">« Prev</a>
      </li>
      <li ng-repeat="n in range(GridPagingOptions.totalPages)" ng-class="{active: n == currentPage-1}" ng-click="setPage()"><a ng-bind="n + 1">1</a>
      </li>
      <li ng-class="{disabled: currentPage == GridPagingOptions.totalPages}">
        <a ng-click="nextPage()">Next »</a>
      </li>
    </ul>
  </div>
</div>


JavaScript
$scope.gridOptions = {
  data: 'myData',
  enablePaging: true,
  pagingOptions: $scope.GridPagingOptions,
  sortInfo: {
    fields: [],
    columns: [],
    directions: []
  },
  useExternalSorting: false,
  showFooter: false,
  columnDefs: [{
    field: 'RequestNumber',
    width: 90,
    displayName: 'RequestID'
  }, {
    field: 'ActionByName',
    width: 160,
    displayName: 'Action  },      { field: '
    ActionDate ', width: 90, displayName: Action Date',
    cellFitlter: "date:'yyyy-MM-dd'"
  }, {
    field: 'Comments',
    width: 125,
    displayName: 'Comments'
  }, {
    field: 'ApproverComments',
    displayName: 'Approver Comments',
    rowHeight: 25,
    width: 215,
    cellClass: 'wrap-text',
    cellTemplate: '<label id="approverC" name="approverC" title="{{ row.getProperty(col.field)}}">{{ row.getProperty(col.field)}}</label>'
  }]

};

AnswerRe: ng-grid wrap-text rows with verical scrolling Pin
Stephen Holdorf2-Mar-16 13:48
Stephen Holdorf2-Mar-16 13:48 
GeneralRe: ng-grid wrap-text rows with verical scrolling Pin
Stephen Holdorf3-Mar-16 2:59
Stephen Holdorf3-Mar-16 2:59 
QuestionRotation functionality is not working in viewer Pin
Member 1235806428-Feb-16 19:10
Member 1235806428-Feb-16 19:10 
Questionif click on one hyperlink navigate another Page(It contains image map-Healight Perticualr location) Pin
Member 1131823316-Feb-16 21:00
Member 1131823316-Feb-16 21:00 
AnswerRe: if click on one hyperlink navigate another Page(It contains image map-Healight Perticualr location) Pin
aarif moh shaikh19-Feb-16 20:55
professionalaarif moh shaikh19-Feb-16 20:55 
QuestionHelp Needed Pin
Member 1231273311-Feb-16 10:43
Member 1231273311-Feb-16 10:43 
QuestionRe: Help Needed Pin
ZurdoDev23-Feb-16 9:02
professionalZurdoDev23-Feb-16 9:02 
QuestionJquery, changing span values with HTML5 data attr inside a div Pin
jkirkerx11-Feb-16 9:50
professionaljkirkerx11-Feb-16 9:50 
AnswerRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Richard Deeming11-Feb-16 10:17
mveRichard Deeming11-Feb-16 10:17 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
jkirkerx11-Feb-16 10:54
professionaljkirkerx11-Feb-16 10:54 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Nathan Minier12-Feb-16 1:55
professionalNathan Minier12-Feb-16 1:55 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
jkirkerx12-Feb-16 6:30
professionaljkirkerx12-Feb-16 6:30 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Nathan Minier12-Feb-16 7:03
professionalNathan Minier12-Feb-16 7:03 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
jkirkerx12-Feb-16 8:17
professionaljkirkerx12-Feb-16 8:17 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Nathan Minier12-Feb-16 8:34
professionalNathan Minier12-Feb-16 8:34 
SuggestionRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Richard Deeming12-Feb-16 8:41
mveRichard Deeming12-Feb-16 8:41 
GeneralRe: Jquery, changing span values with HTML5 data attr inside a div Pin
Nathan Minier12-Feb-16 8:57
professionalNathan Minier12-Feb-16 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.