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
1
vote
0 answers

Ko-Grid throwing errors

I just loaded KO Grid in to my application to see how it turns out. While trying it kept on failing showing me error that ko is not defined. in fact, I am can see KnockOut library bein gloaded in my firebug and other code which is using Knockout is…
Lost
  • 12,007
  • 32
  • 121
  • 193
0
votes
1 answer

Omit / hide column from filter in KoGrid?

Does anyone know if it is possible to omit / hide a column from the filter (list of checkboxes) on KoGrid? If so, how? (I'm hoping there's something that can be done to achieve this in the ColumnDefs property)
Ryan Penfold
  • 752
  • 2
  • 11
  • 16
0
votes
0 answers

knockoutjs component binding is not working

I am kind of new to Knockoutjs and trying to build a reusable component based on the library from github repo. Please find below the html & knockout component code, trying to understand the issue, not sure why the component is rendering: Can…
Raju
  • 114
  • 1
  • 12
0
votes
1 answer

KOGrid clicking the next page button does nothing

Using KOGrid I have the following in the JS view model: self.gridOptions = { data: self.recs, columnDefs: self.columnDefs, autogenerateColumns: false, showGroupPanel: false, showFilter:…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

KnockoutJs Hyperlink to new Tab

I have an ASP.Net MVC website that uses KnockoutJS and KOGrid in the views. It dynamically renders hyperlinks in one particular column as follows: cellTemplate: '
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

KoGrid Row Selection Binding

I am using the KoGrid plugin to have a knockout grid with selection checkboxes. I have the following code so far. function columnDefsVM() { var self = this; this.myData = ko.observableArray(GlobalJson); this.mySelectedData =…
Bad Dub
  • 1,503
  • 2
  • 22
  • 52
0
votes
1 answer

Disable checkbox ColumnMenu kogrid

I have a ko-grid like that http://knockout-contrib.github.io/KoGrid/#/examples. And I want to disable a specific checkbox in Column Menu as below image. How can I do it? enter image description here Thank you in advance.
0
votes
1 answer

Need to get custom checkbox columns to work in KoGrid

I am trying to display a KoGrid that contains some basic show data. The grid has an embedded checkbox that tells whether or not the show is a movie, and another embedded checkbox that tells whether or not the show is a cartoon. The Javascript for…
Factor Three
  • 2,094
  • 5
  • 35
  • 51
0
votes
1 answer

KOGrid Cell Template $parent is not defined

A beginner level javascript question... I need to define a cell template for my KOGrid that is dependent on values in my VM. I want text to be displayed green if an associated field is True else display in red. I have the following cell…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
2 answers

Conditional formatting of KO grid cells

I'm using kogrid to display data as shown below: My knockout vm makes an ajax call to an MVC controller to retrieve a DTO shaped as follows: I would like to colour in RED the cell background that have values that failed validation. For example,…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

knockoutjs kogrid display date within cell - with plunk

I have the following columnDefs self.columnDefs = [ { width: 150, field: 'timeReceived', displayName: 'Time Received', cellFilter: function (data) { return moment(data).format('DD/MM/YYYY h:mm a') } }, { width: 500, field: 'name',…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

KO Grid unable to save data from edited cell - with Plunker

I have an Asp.Net MVC website for which I've started to use the knockoutjs kogrid to display grids of data. For one particular grid, I would like the user to be able to edit an Email Address column. On clicking a save button the edited value should…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

Knockout KoGrid - no data displayed

I have an ASP.Net MVC5 app into which I have added a couple of views that use the excellent KnockoutJs KoGrid (http://knockout-contrib.github.io/KoGrid/#/examples). My problem is I have created a third view that uses the KoGrid and despite following…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
2 answers

KoGrid not displayed when Select also on page

I have an ASP.Net MVC4 website. Here's the problem view: @model TVS.ESB.BamPortal.Website.Models.MyTasksViewModel @using System.Web.Script.Serialization @{ ViewBag.Title = "My Tasks"; Layout =…
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
0
votes
1 answer

kogrid not updating column when data changed

i have simple data like this : var dataFromAjax = [ {Id : 1, Name : "Yoza", Status : 1}, {Id : 2, Name : "Dhika", Status : 1} ]; and next data from ajax will have different schema. like this : var nextData = [ {Id : 1, Name :…
yozawiratama
  • 4,209
  • 12
  • 58
  • 106