开发者

Is it good idea to write own grid in my case?

I need to do this data grid with sorting, AJAX, paging and loading variety data.

Is it good idea to write own grid in my case?

What is better customize exists grid(jqGrid, flexcGrid etc) or w开发者_运维知识库rite my own?


Start with your own ajax datagrid. I've wrote such an application with xajax and a nested xml datastructure. It's quite simple and you are more independent from the business side of your application (moneytize and personal contact). I can show you some examples.


Start with using existing one - there's no point in reinventing the wheel. You will save much time and effort.

Write your own only if the existing components doesn't provide all the functionality you need. Your grid looks quite simple and standard - existing components will be enough. Style using CSS.


Give Datatables a try

But in case you need the same styles and look and feel that would be difficult to attain with DataTables..

DataTables provides few its own styles and CSS themes...find the best suited

But this provides all the functionality you need and also is highly customizable...


You need to look carefully at what is available, and make a decision based on what you can find.

If there is an existing product that does the functionality you require, and has the extensibility to allow you to achieve your requirements. If there is, then this will save you time, and mean that you don't have to support the coding that is already provided.

If you cannot find any such control, then write your own. Writing your own should be a second choice - not a last option, because it is significantly better that hacking an existing control to fit what you need, which will probably take longer.

It is a choice each time. There is no single best answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜