Hello KendoUI team:
I'm loading a great amount of data (about 1 thousand rows) in a kendogrid but i want to right align a numeric field.
Would you please provide a sample of how to do this? Could your virtualization of remote data sample get the Order Id right aligned?
I'm having problems with this if I use a jQuery function to rigth align my numeric cell of each row in my kendo grid.
(Paging is not an option for me.)
Any help will be appreciated.
Sincerely,
Oscar.
I'm loading a great amount of data (about 1 thousand rows) in a kendogrid but i want to right align a numeric field.
Would you please provide a sample of how to do this? Could your virtualization of remote data sample get the Order Id right aligned?
I'm having problems with this if I use a jQuery function to rigth align my numeric cell of each row in my kendo grid.
(Paging is not an option for me.)
Any help will be appreciated.
Sincerely,
Oscar.
7 Answers, 1 is accepted
0
Hi Oscar,
You can use a column template and insert a right-aligned wrapper to the cell value:
http://jsfiddle.net/dimodi/neKRn/
Greetings,
Dimo
the Telerik team
You can use a column template and insert a right-aligned wrapper to the cell value:
http://jsfiddle.net/dimodi/neKRn/
Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Oscar
Top achievements
Rank 1
answered on 12 Jun 2012, 10:08 AM
Thank you, Dimo.
I've used a column template like your sample and seems to work fine, but I need the grid to be editable in-cell (batch editing).
I've updated your sample and when I add a new record, vertical scroll stops working.
Please, try this http://jsfiddle.net/neKRn/3/ to reproduce the issue.
I've used a column template like your sample and seems to work fine, but I need the grid to be editable in-cell (batch editing).
I've updated your sample and when I add a new record, vertical scroll stops working.
Please, try this http://jsfiddle.net/neKRn/3/ to reproduce the issue.
0
Hello Oscar,
The virtual scrolling mode has been designed chiefly for read-only scenarios. However, you can use it for editing as well, if the edit mode is set to popup, or if remote datasource is used.
Regards,
Dimo
the Telerik team
The virtual scrolling mode has been designed chiefly for read-only scenarios. However, you can use it for editing as well, if the edit mode is set to popup, or if remote datasource is used.
Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Oscar
Top achievements
Rank 1
answered on 15 Jun 2012, 08:03 AM
Hi Dimo,
Our users are used to edit grids as if they were editing excel sheets: no paging, edit in cell, hundreds of rows. This is the way they can do their work faster. Do you have a date to develop virtualization of remote data also for editing/inserting rows in kendogrid? Is this a so strange requirement to be not supported by kendogrid?
Yours faithfully
Our users are used to edit grids as if they were editing excel sheets: no paging, edit in cell, hundreds of rows. This is the way they can do their work faster. Do you have a date to develop virtualization of remote data also for editing/inserting rows in kendogrid? Is this a so strange requirement to be not supported by kendogrid?
Yours faithfully
0
Hello Oscar,
I understand, but the data virutalization mechanism currently is not compatible with scenarios in which rows are appended to the <table> without rebinding the widget.
Have you tried with a remote datasource as suggested in my previous reply?
Kind regards,
Dimo
the Telerik team
I understand, but the data virutalization mechanism currently is not compatible with scenarios in which rows are appended to the <table> without rebinding the widget.
Have you tried with a remote datasource as suggested in my previous reply?
Kind regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Oscar
Top achievements
Rank 1
answered on 15 Jun 2012, 11:48 AM
Hi Dimo,
Sorry, but... Do you mean serverPaging by remote datasource? I always use serverPaging = false in my kendo datasources. My server-side is not prepared for paging. As I said in my first post, paging is not an option for me.
Any workaround?
Sincerely yours.
Oscar.
Sorry, but... Do you mean serverPaging by remote datasource? I always use serverPaging = false in my kendo datasources. My server-side is not prepared for paging. As I said in my first post, paging is not an option for me.
Any workaround?
Sincerely yours.
Oscar.
0
Hello Oscar,
Remote datasource is one that is fetched by means of an URL, contrary to having the data as plain Javascript array. And yes, I am afraid server paging is required in this case for the virtual scrollbar to work with non-popup editing.
Regards,
Dimo
the Telerik team
Remote datasource is one that is fetched by means of an URL, contrary to having the data as plain Javascript array. And yes, I am afraid server paging is required in this case for the virtual scrollbar to work with non-popup editing.
Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!