Questions tagged [jqgrid-formatter]

For questions relating to code using jqgrid-formatter. jqGrid Formatter provides inbuilt format functions and has extensibility to create custom functions to creatively design grid columns and rows. This tag is not about licensing or pricing issues.

jqGrid Formatter provides inbuilt format functions and has extensibility to create custom functions to creatively design grid columns and rows.

JQgrid Formatter supports advanced formatting of the contents of cells in form, in-line and cell editing.
Formatter can be used in either of two ways: Predefined and Custom.

250 questions
15
votes
1 answer

How to unselect the selected row from jQgrid when the custom formatter text field value is empty

When i tried to check the check box in jQgrid it selecting the values that's fine ,and in that i have the custom formatter text field with out entering the values in text field and tried to select the check box i will display the alert message after…
simbu94
  • 1,012
  • 2
  • 10
  • 22
8
votes
2 answers

How To Hide Column in jQgrid but show this Column in Add/Edit panel

I want a form of control I use. But the number of fields that are too high. How can I display the grid, but only some of the fields in the form add/edit popup panel show all fields ???
Pouya
  • 1,908
  • 17
  • 56
  • 78
8
votes
3 answers

How to change date format in jqgrid

I have one issue related to jqgrid. I have date shown in jqgrid table like "FRI MAY 17 00:00:00 IST 2013" .I want to change its format to "17/5/2013".how i can do it? {name:'checkin', index:'checkin', width:60, searchoptions:{sopt:['eq']}}, this…
Dhairyashil
  • 179
  • 2
  • 5
  • 18
7
votes
1 answer

jqgrid number formatter use

In my formatter, I've got the following code: formatter: { number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 4, defaultValue: '0.0000' } }, and in my colModel I have: { name: 'SalesPrice', index: 'SalesPrice', width:…
DavidS
  • 2,179
  • 4
  • 26
  • 44
5
votes
1 answer

JQGrid Grouping GroupText formatting and modification

I have a grid that implements grouping but would like to expand on the details that display in the groupText: area. Ideally I would be able to take data about that grouping and display in that group row with the group name ({0} default value). In…
Mark
  • 3,123
  • 4
  • 20
  • 31
5
votes
1 answer

How to get Data Row Selected in jqGrid

i'm starter in jqGrid, i have 2 jqGrid in the page , in the Grid1 i have inCustom and OutCustom i want user click in Grid get Data inCustom and outCustom in write this code var grid = $('#list'); grid.jqGrid({ url: 'jQGridHandler.ashx', …
Pouya
  • 1,908
  • 17
  • 56
  • 78
4
votes
1 answer

How to assign the data dynamically to jqGrid?

Here is my code for creating the jqGrid $("#ptDataGrid").jqGrid({ datatype: 'local', data: arrSpecData, colModel: colmod, rowNum: 10, rowList: [10], …
Dinesh
  • 2,026
  • 7
  • 38
  • 60
4
votes
1 answer

How to provide a hyperlink to a column data in JQgrid and navigate to respective Url based on data clicked?

I have a JQgrid which contains has just 2 columns..I am pasting my code which i have tried below.. var UserArr = new Array(); function Grid() { $("#users_grid").jqGrid({ colNames: ['Site_Name', 'Details'], colModel: [{ name:…
Xavier
  • 1,672
  • 5
  • 27
  • 46
4
votes
1 answer

how to custom header jqgrid

i want create jqGrid like this I could divid body jqGrid i write this code var data = [[1, 45, "E123", "1/1/11", "Done", 100], [2, 46, "E124", "1/12/11", "Done", 100]]; $("#grid").jqGrid({ datatype: "local", height: 250, colNames:…
Pouya
  • 1,908
  • 17
  • 56
  • 78
4
votes
1 answer

adding dynamic parameter in showlink formatter of JQGrid

i am using showlink Formatter of JQGrid. for this my colModel is [ {name:'id',index:'id',hidden:true},…
swapy
  • 1,616
  • 1
  • 15
  • 31
4
votes
1 answer

Can we have 2 formatter options in jqgrid colModel ?

I have a jqgrid, where it has a custom formatter to "column1". I need to sort the "column1" as date. I know that i can give "formatter:date", if i give this, my custom formatter does not work. Can we have 2 formatters or is there any other option…
Phanikiran
  • 161
  • 3
  • 14
3
votes
1 answer

How to define a 'before save' callback in jqGrid's 'action' formatter?

I'm using the built-in 'action' formatter to edit inline (row editing) and to delete. The problem is that I want to validate via ajax (so, returning true field could be saved) but I couldn't add any 'before save' callback in the save statment. Image…
Ezep
  • 35
  • 5
3
votes
2 answers

how to change jqgrid paging style

I want to change default pagination of jqgrid. I want the pagination as given below 1 2 3 4 5.. Next Is it supported by default? How can i achieve that? Thanks,
Tepu
  • 1,602
  • 2
  • 20
  • 28
3
votes
1 answer

free jqgrid custom formatter lost after sorting or filtering

I am using free jqgrid 4.13.0 I wrote a custom formatter, but unfortunately my cell contents of that column are always lost after sorting the table or filtering. I am probably doing something wrong in the formatter function, but haven't really…
Preexo
  • 2,102
  • 5
  • 29
  • 37
3
votes
1 answer

Enable or Disable selection of a Check Box in jqgrid depending on some specific column value

I have a jqgrid, where I want to select the rows which has value "Running" in Agent Status Column. For rest of the status, I should not be able to select the row. The JQGrid code datatype: "json", contentType: 'application/json', …
Abb
  • 3,051
  • 3
  • 17
  • 34
1
2 3
16 17