jQuery UI Widgets › Forums › Grid › pinned on last two columns in jqx grid
Tagged: javascript gridview, javascript ui grid, javascript ui gridview, jquery grid, jquery gridview, jquery ui grid, jquery ui gridview, jqwidgets grid, jqxgrid
This topic contains 4 replies, has 3 voices, and was last updated by Mohamed Zanoon 10 years, 9 months ago.
-
Author
-
It put pinned: true on last columns field in my jqx grid.
It is always visible as first columns.I am not able to show on as last coulum.
Please suggest how to show always on last columns.var editProduct = {
“text”: “Edit”,
“datafield”: “Edit”,
“width”: “100”,
pinned:true,
“cellsrenderer”: function (row, column, value) {
var prodID = dataAdapter._source.localdata[row].ProductID;
// alert(JSON.stringify(dataAdapter));
if (value.indexOf(‘#’) != -1) {
value = value.substring(0, value.indexOf(‘#’));
}
value = $.trim(value);
var html = ““;
return html;
}
};var columns = json.columns;
columns.push(editProduct);$(“#jqxgrid”).jqxGrid(
{
//rowList: [‘ALL’, 30, 50, 100, 200],width: ‘100%’,
autoheight: true,
filterable: true,
pageable: true,
columnsreorder: true,
source: dataAdapter,
//theme: theme,
columnsresize: true,
columns: columns,
ready: function () {
$(‘#jqxgrid’).jqxGrid({ pagesizeoptions: [’50’] });
}});
Please suggest how to show always on last columns.Hi sanjeevp,
Pinned/Fixed Grid columns are always displayed on the left.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comDear Team,
kindly support my to how i can edit Show Rows in jqxGrid from 5, 10, 20 to 10, 20, 50, All ????thanks
Hi Mohamed Zanoon,
Your question has nothing related to the topic here. Anyway – look at the Grid’s API and especially pagesizeoptions. “all” however is not supported option.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter Stoev,
I’m Sorry, thanks for your support.
Regards,
Mohamed Zanoon -
AuthorPosts
You must be logged in to reply to this topic.