I am using jpGrid for showing data in table but i do not want to show column showing row number is anyone know how to remove that column?
You can Use "rownumbers: true" to display the row numbers. If this is what you are looking for.
To remove the rownumber/serial number column in grid then add the following line in the jqgrid code rownumbers: false
Related
I am having trouble displaying the information from another column in googlesheet. I would like to display all the raw data per columns but based on a unique value on certain column. As you can see on column D, those highlighted parts are duplicate values.
enter image description here
I have tried using this formula =UNIQUE(SORT('Supervisor Queue V2'!A2:N,4,TRUE)) but it still display the duplicates on column D. Any help would be appreciated. Thanks in advance.
I am using phpgrid.org. It only show Edit/Delete link only on first row. Some times it show randomly. How to fix it?
The first column of grid must have unique alphanumeric data (usually a PK). This is required to uniquely identify particular row for update & delete operations.
Refer their faqs as well: http://phpgrid.org/faqs
I am fairly new to BIRT reports.
In the BIRT reports designer I have added a 2nd row to my table which is binded to a data set. In this 2nd row I want 1 column from my data set to take up the whole row.
So what I did was to add the second row and merge all the columns in that row to form one column. I then added a text field with Dynamic HTML Text.
<VALUE-OF>row["ITEMDESCRIPTION"]</VALUE-OF>
The problem I have is that the data is not taking the whole row. It is being wrapped into only a small section of the row. I must be missing something. Can someone help me with this pls.
I'm attaching both the way the end report looks like and also the screenshot of the set up in the designer.
End Result
Designer (you can see all the rows merged in the second row of the table and in the properties i can see a colspan of 10 for that single column)
thanks
I've found out that the asnwer to this question is to make the field element inline style rather than block and also to check the No Wrapping check box for this field int he designer.
I am adding a new column to SlickGrid using of course grid.setColumns(newColumnDef);
I allow the user to then enter values into this new column
If they so choose they can remove this column and add another column which they can select from a dropdown list.
This all works fine, the column gets removed and the grid appears without the removed column. However when I call dataView.getItems() to grab the data from the grid the columns I'vd previously removed are still there. Looks like setColumns with a new column definition and dataView.refresh does not delete the columns data, just the column is removed. I need to remove the columns data when the column is removed... Any suggestions would be most helpful.
Changing the presentation of the data does not change the data itself.
Use deleteItem method of dataview as follows,
dataView.deleteItem(id);\\where id is your unique id
dataView.refresh();`
I have the following problem - I have a datatable with n number of rows. The first column is Serial Number using simple counter. My table has a functionality in which when I double click the row, it becomes editable and 'check' and 'cancel' images show up in the first column, right beside the serial number. User can edit row and save/cancel the row accordingly.
The problem with this logic is, since there are images in the first column, I'm not able to sort the table based on the first column. When I remove the images, sorting works perfectly.
I know this is a weird problem, but I really dont want to change the editing logic for this.
Please help!!
Got help from datatables.net. Removed the images from the first column. On edit event, used jQuery append and remove to add/remove the elements to the first column.