easysoft / easysoft/zui

一些问题反馈

Open
#178 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

1、我原来用的1.9.1.用了数据表格2.
刚从官网直接点下载下来的时zui-1.9.2-dist.zip
加载以后数据表格2默认是英文的。
langs包里好像也没中文。不知道怎么改成中文。

2、数据表格2的问题
我用的远程数据源,每次返回一个分页那种。
修改某行数据以后,也是ajax提交远程保存到数据库。
但是本地只能用window.location.reload();来刷新页面。这样刷新会自动返回第一页。不太好用。
1.9.1的时候调用$('#datagridBox').data('zui.datagrid').render();没任何效果。不会刷新本页。
升级1.9.2后,render()好像页面有反应,但是只是看到表格自适应了一下尺寸。数据并没变,也没有发送新的ajax请求来获取新数据。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the zui.datagrid implementation and its langs package, then reproduce the reported behavior using a paginated remote data source and an AJAX row update. Check the language default in the 1.9.2 distribution and the render() path for reloading the current page without window.location.reload(); done means Chinese is available and the updated page data is fetched without returning to page one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.