Questions tagged [kogrid]

koGrid is a Knockout data grid.

koGrid is a direct knockout port of ng-grid, making it easy to create styled data grids for web pages.

92 questions
0
votes
1 answer

How to prevent kogrid to automatically select newly added items, preserving current selection?

I've following issue: I have two kogrids on my page. One one the left, one on the right side. Between them I added two buttons so that the user can move selected items from the left to the right side and the other way round. Therefor my view model…
yan.kun
  • 6,820
  • 2
  • 29
  • 38
0
votes
1 answer

How to select certain cells from koGrid row?

I have a koGrid and I want to select only somes cells (2 cells) from the row. If use canSelectRows: true property I can select the entire row - I don't need this. How to select certain cells from koGrid row ? grid source: this.gridOptions = { …
pisi
  • 127
  • 1
  • 4
  • 16
0
votes
1 answer

KoGrid how to customize pagination and use lib to

Hello does any one know how to customize pagination on KoGrid ? I would like to create my own pagination control (it easy) and I need to bind koGrid pagination event to my controls. (I try to write the same like koGrid generate but it dosn't work) …
Arbejdsglæde
  • 13,670
  • 26
  • 78
  • 144
0
votes
1 answer

KoGrid how to refresh grid in case data is changed

I am tring to use KoGrid lib, but I got case that I can't resolve. I don't know how to refresh grid in case if I got new data for display. I need to update data after ajax call. $.ajax({ type: "GET", url:…
Arbejdsglæde
  • 13,670
  • 26
  • 78
  • 144
0
votes
2 answers

Cannot select text in KO Grid

In kogrid I cannot select any text in the grid. You can see this here in their examples http://ericmbarnard.github.com/KoGrid/#/examples Is there anyway I can make it be able to select the text in a cell?
segFault
  • 1,228
  • 2
  • 18
  • 41
0
votes
2 answers

Using KoGrid in HotTowel template

I am trying to use KoGrid in a HTML view within the HotTowel SPA template. I created a simple view:

Carbonski
  • 33
  • 1
  • 4
0
votes
1 answer

KoGrid - auto scroll to selected

I want to use KoGrid to show a list of "assets" and have the same assets showing in a Google map. When the user clicks on the pin in the map, the corresponding asset in the list should be scrolled down to show it at the top. Bonus: don't do anything…
AlignedDev
  • 8,102
  • 9
  • 56
  • 91
0
votes
1 answer

KoGrid and observable properties

I'm looking at using KoGrid and it took me a while to figure out how to use observable properties. I found the wiki page about custom templates helpful and that I have to use $parent.entity['editableField']. However, I can't get the css binding to…
AlignedDev
  • 8,102
  • 9
  • 56
  • 91
0
votes
0 answers

kogrid javascript library runtime exception

I have just installed kogrid through NUget I am using simple grid example provided here but when i run my mvc application it just throws following exception in kogrid.js file Microsoft Jscript runtime Error: Object doesn't support property or method…
khalid khan
  • 73
  • 2
  • 5
0
votes
1 answer

Script freezes IE unless in Compatibility View

The goal is to use a grid control in a web resource on a form in CRM. I decided on KoGrid because it could be easily bound to the knockout view model we already had in place. The trouble is using KoGrid in a CRM context causes IE 9 to stop…
0
votes
1 answer

Knockout.js SimpleGrid doesn't render correctly

I was trying to modify Knockout.js simpleGrid , so that I could put hyperlink in cell content. I replaced this.addItem = function() { this.items.push({ name: "New item", sales: 0, price: 100 }); }; with this.addItem = function() { …
0
votes
0 answers

Invalid argument error in IE8 using KoGrid

I'm trying to use KoGrid but have learned I can't even get a very simple example to work without error in IE8. Things are working fine in FF 9.0.1. I've stripped down my original code to a very simple test that still shows the error:
eol
  • 431
  • 3
  • 11
0
votes
1 answer

knockoutjs - $evalasync (angularjs) equivalent

trying to have a function get executed once in a custom binding handler to resize some divs based on their contents. I am able to easily do this in angularjs but I am trying to find something that behaves like $evalAsync for…
timothyswt
  • 559
  • 5
  • 7
-1
votes
3 answers

Javascript convert to array

I need to create an array of objects, with each object containing fields "LicenseRefNo", "FPPRNO" etc. The website makes an ajax call to a C# controller which currently returns the following…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
-1
votes
1 answer

Does KoGrid supports context menu?

Does KoGrid support context menu out of the box. If not could someone point me as to how to show context menu on right click of a row in KoGrid.
Sajid
  • 81
  • 2
  • 10